diff options
author | Rindbee <idleman@yeah.net> | 2023-07-18 13:10:58 +0800 |
---|---|---|
committer | Rindbee <idleman@yeah.net> | 2023-07-18 15:39:02 +0800 |
commit | e9cd29cf228b67f3b6bf4061bd578c673c757d66 (patch) | |
tree | 4f80e370a1516a04b91cc0704f5c67bc7232bf49 /modules/gdscript/gdscript_editor.cpp | |
parent | 57919beb05687cf2ee80ed0d3ccac6445c7edea9 (diff) | |
download | redot-engine-e9cd29cf228b67f3b6bf4061bd578c673c757d66.tar.gz |
Fix rename animation in SpriteFramesEditor/AnimationNodeStateMachineEditor
When the name suffix grows, the old name is used if it is obtained first.
Fix the case where the following error message would appear when renaming
an animation.
```
ERROR: Animation '' doesn't exist.
at: get_frame_count (scene/resources/sprite_frames.cpp:71)
```
Diffstat (limited to 'modules/gdscript/gdscript_editor.cpp')
0 files changed, 0 insertions, 0 deletions