You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +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:
@@ -288,12 +288,17 @@ Node *ArrayPropertyEdit::get_node() {
|
||||
return Object::cast_to<Node>(ObjectDB::get_instance(obj));
|
||||
}
|
||||
|
||||
bool ArrayPropertyEdit::_dont_undo_redo() {
|
||||
return true;
|
||||
}
|
||||
|
||||
void ArrayPropertyEdit::_bind_methods() {
|
||||
|
||||
ClassDB::bind_method(D_METHOD("_set_size"), &ArrayPropertyEdit::_set_size);
|
||||
ClassDB::bind_method(D_METHOD("_set_value"), &ArrayPropertyEdit::_set_value);
|
||||
ClassDB::bind_method(D_METHOD("_notif_change"), &ArrayPropertyEdit::_notif_change);
|
||||
ClassDB::bind_method(D_METHOD("_notif_changev"), &ArrayPropertyEdit::_notif_changev);
|
||||
ClassDB::bind_method(D_METHOD("_dont_undo_redo"), &ArrayPropertyEdit::_dont_undo_redo);
|
||||
}
|
||||
|
||||
ArrayPropertyEdit::ArrayPropertyEdit() {
|
||||
|
||||
Reference in New Issue
Block a user