mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-10 06:04:37 +00:00
Merge pull request #1368 from Azaezel/alpha41/sourceGroupGrok
fill in asset based sound group if not specified by instanced emitter
This commit is contained in:
commit
5feef0ec5c
2 changed files with 5 additions and 0 deletions
|
|
@ -184,6 +184,8 @@ void GuiAudioCtrl::_update()
|
|||
mSoundPlaying->setFadeTimes(mFadeInTime, mFadeOutTime);
|
||||
|
||||
}
|
||||
else
|
||||
getSoundDescription()->mSourceGroup->addObject(mSoundPlaying);
|
||||
|
||||
mSoundPlaying->play();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue