You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Hide animation tool correctly when switching scenes
This commit is contained in:
@@ -3983,7 +3983,7 @@ void CanvasItemEditor::_notification(int p_what) {
|
|||||||
select_sb->set_texture_margin_all(4);
|
select_sb->set_texture_margin_all(4);
|
||||||
select_sb->set_content_margin_all(4);
|
select_sb->set_content_margin_all(4);
|
||||||
|
|
||||||
AnimationPlayerEditor::get_singleton()->get_track_editor()->connect("visibility_changed", callable_mp(this, &CanvasItemEditor::_keying_changed));
|
AnimationPlayerEditor::get_singleton()->get_track_editor()->connect("keying_changed", callable_mp(this, &CanvasItemEditor::_keying_changed));
|
||||||
AnimationPlayerEditor::get_singleton()->connect("animation_selected", callable_mp(this, &CanvasItemEditor::_keying_changed).unbind(1));
|
AnimationPlayerEditor::get_singleton()->connect("animation_selected", callable_mp(this, &CanvasItemEditor::_keying_changed).unbind(1));
|
||||||
_keying_changed();
|
_keying_changed();
|
||||||
_update_editor_settings();
|
_update_editor_settings();
|
||||||
|
|||||||
Reference in New Issue
Block a user