mirror of
https://github.com/godotengine/godot.git
synced 2024-11-23 04:33:29 +00:00
bc1522e268
It appears that some time ago users were supposed to be able to include the playback of sound effects in their animations by placing keys on the "playing" property. Back then the key frame editor took the value of the checkbox in the property_editor. Somewhere / Sometime this behaviour changed and the key frame editor is now reading the actual value from the object instead of relying on the property editor. This commit introduces a fake active field that is returned when reading the playing property in the editor. While the actual active flag is changed when playback is finished the fake one will stay the same thus allowing the user to take their time with setting the key in the animation editor. |
||
---|---|---|
.. | ||
audio_player.cpp | ||
audio_player.h | ||
SCsub |