mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
-Fixes to undo redo to avoid crash, closes #24251
-Changed Animation to have a special signal when tracks are changed, to avoid unnecesary track cache rebuilds in AnimationPlayer -Added missing emit_changed whe modifying keys to Animation -Changed AnimationPlayer to use the new refcounted connections instead of the previous hacky way to keep references -Changed AnimationEditor to update the current track when keys are edited -Fixed bug where undo/redo did not work with AnimationKeyEdit (was not being updated) -Made sure UndoRedo does not mind deleted objects in undo/redo history, this would corrupt the history or clear it without need.
This commit is contained in:
parent
6b184e4d3b
commit
4a24ba6e77
12 changed files with 68 additions and 30 deletions
|
@ -52,6 +52,8 @@ class ArrayPropertyEdit : public Reference {
|
|||
void _set_size(int p_size);
|
||||
void _set_value(int p_idx, const Variant &p_value);
|
||||
|
||||
bool _dont_undo_redo();
|
||||
|
||||
protected:
|
||||
static void _bind_methods();
|
||||
bool _set(const StringName &p_name, const Variant &p_value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue