mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 00:54:54 +00:00
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:
parent
7fa2e72d5f
commit
29510c474b
1 changed files with 1 additions and 2 deletions
|
|
@ -689,9 +689,8 @@ void SFXEmitter::_update()
|
||||||
// we can restore it.
|
// we can restore it.
|
||||||
SFXStatus prevState = mSource ? mSource->getStatus() : SFXStatusNull;
|
SFXStatus prevState = mSource ? mSource->getStatus() : SFXStatusNull;
|
||||||
|
|
||||||
if (mSoundAsset.notNull() )
|
if (mSoundAsset.notNull() && mDirty.test(Track | Filename))
|
||||||
{
|
{
|
||||||
//mLocalProfile = *mSoundAsset->getSfxProfile();
|
|
||||||
mDescription = *mSoundAsset->getSfxDescription();
|
mDescription = *mSoundAsset->getSfxDescription();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue