mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
Merge pull request #957 from Areloch/SFXEmitter_Desc_Fix
Fixed logic in SFXEmitter so it wouldn't keep overriding local properties with the asset Description DB values any time a property was changed
This commit is contained in:
commit
f903140d22
1 changed files with 1 additions and 2 deletions
|
|
@ -689,9 +689,8 @@ void SFXEmitter::_update()
|
|||
// we can restore it.
|
||||
SFXStatus prevState = mSource ? mSource->getStatus() : SFXStatusNull;
|
||||
|
||||
if (mSoundAsset.notNull() )
|
||||
if (mSoundAsset.notNull() && mDirty.test(Track | Filename))
|
||||
{
|
||||
//mLocalProfile = *mSoundAsset->getSfxProfile();
|
||||
mDescription = *mSoundAsset->getSfxDescription();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue