aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/animation_editor.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2016-01-23 19:51:51 -0300
committerJuan Linietsky2016-01-23 19:51:51 -0300
commit6c27df8df609337867c108c5adb66174393e190b (patch)
tree11c1e8ad5f1f844fe6af2032784fd8e2a2951420 /tools/editor/animation_editor.cpp
parenta2992d5955ff4f84f829dcab4859b4f5b5399a2c (diff)
downloadgodot-6c27df8df609337867c108c5adb66174393e190b.tar.gz
godot-6c27df8df609337867c108c5adb66174393e190b.tar.zst
godot-6c27df8df609337867c108c5adb66174393e190b.zip
-Fixes a bunch of stdout errors, closes #2763 closes #2731
Diffstat (limited to 'tools/editor/animation_editor.cpp')
-rw-r--r--tools/editor/animation_editor.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/editor/animation_editor.cpp b/tools/editor/animation_editor.cpp
index fbe50d6d9..cdce91066 100644
--- a/tools/editor/animation_editor.cpp
+++ b/tools/editor/animation_editor.cpp
@@ -2814,6 +2814,8 @@ void AnimationKeyEditor::_notification(int p_what) {
case NOTIFICATION_ENTER_TREE: {
+ key_editor->edit(key_edit);
+
zoomicon->set_texture( get_icon("Zoom","EditorIcons") );
menu_add_track->set_icon(get_icon("AddTrack","EditorIcons"));
@@ -3924,7 +3926,7 @@ AnimationKeyEditor::AnimationKeyEditor() {
key_edit = memnew( AnimationKeyEdit );
key_edit->undo_redo=undo_redo;
//key_edit->ke_dialog=key_edit_dialog;
- key_editor->edit(key_edit);
+
type_menu = memnew( PopupMenu );
add_child(type_menu);
for(int i=0;i<Variant::VARIANT_MAX;i++)