Explorar o código

Merge branch 'master' of https://github.com/okamstudio/godot

reduz %!s(int64=10) %!d(string=hai) anos
pai
achega
a2f2d7610a
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      tools/editor/plugins/animation_player_editor_plugin.cpp

+ 1 - 0
tools/editor/plugins/animation_player_editor_plugin.cpp

@@ -1393,6 +1393,7 @@ AnimationPlayerEditorPlugin::AnimationPlayerEditorPlugin(EditorNode *p_node) {
 
 	editor=p_node;
 	anim_editor = memnew( AnimationPlayerEditor(editor) );
+	anim_editor->set_undo_redo(editor->get_undo_redo());
 	editor->get_animation_panel()->add_child(anim_editor);
 	/*
 	editor->get_viewport()->add_child(anim_editor);