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:
Brian Roberts 2025-01-27 11:31:41 -06:00 committed by GitHub
commit 5feef0ec5c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 0 deletions

View file

@ -184,6 +184,8 @@ void GuiAudioCtrl::_update()
mSoundPlaying->setFadeTimes(mFadeInTime, mFadeOutTime);
}
else
getSoundDescription()->mSourceGroup->addObject(mSoundPlaying);
mSoundPlaying->play();
}