diff options
author | 风青山 <idleman@yeah.net> | 2023-09-14 18:06:49 +0800 |
---|---|---|
committer | 风青山 <idleman@yeah.net> | 2023-10-18 06:46:03 +0800 |
commit | 2642c6851f2ab90c944f565e060ad2df643d575e (patch) | |
tree | 45f89430716eeee76702faf4b8a9c49c234d6bfd /platform/android/api/api.cpp | |
parent | fd33c7b32f54e9ac3d346be718618575338cd7ef (diff) | |
download | redot-engine-2642c6851f2ab90c944f565e060ad2df643d575e.tar.gz |
Defer updating the animations Tree in SpriteFramesEditor to avoid crashes
Previously, clicking the LMB while renaming an animation could cause
`SpriteFramesEditor::_update_library(false)` to be called during
`Tree::propagate_mouse_event()`. This may cause a crash.
We can defer updates to the editor interface to avoid calling
`Tree::create_item()` at the wrong time.
Enables `SpriteFramesEditor::_select_animation()` to be able to undo/redo
Diffstat (limited to 'platform/android/api/api.cpp')
0 files changed, 0 insertions, 0 deletions