mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-06 14:00:39 +00:00
if we have no description, the sounds is never 3d
This commit is contained in:
parent
e16351605b
commit
ab98909f1e
1 changed files with 1 additions and 1 deletions
|
|
@ -554,7 +554,7 @@ void SFXSound::setTransform( const MatrixF& transform )
|
|||
{
|
||||
Parent::setTransform( transform );
|
||||
|
||||
if( mVoice && is3d() )
|
||||
if( mVoice && mDescription && is3d() )
|
||||
mVoice->setTransform( mTransform );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue