diff options
author | Juan Linietsky <reduzio@gmail.com> | 2016-01-17 20:03:57 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2016-01-17 20:03:57 -0300 |
commit | 74a48a0140262ebd3a818a75b7d102cf0fe2eeae (patch) | |
tree | 6789b64b2df5bbf81d519a4d4d70d1e9f0c35655 /tools/editor/plugins/spatial_editor_plugin.cpp | |
parent | 72fcb8a35beab251d01864bc67da3e3a8e75aed6 (diff) | |
download | redot-engine-74a48a0140262ebd3a818a75b7d102cf0fe2eeae.tar.gz |
-Massive editor dialog cleanup
-Added a bottom menu list
Diffstat (limited to 'tools/editor/plugins/spatial_editor_plugin.cpp')
-rw-r--r-- | tools/editor/plugins/spatial_editor_plugin.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/editor/plugins/spatial_editor_plugin.cpp b/tools/editor/plugins/spatial_editor_plugin.cpp index ab5a20fa29..153d71e9cb 100644 --- a/tools/editor/plugins/spatial_editor_plugin.cpp +++ b/tools/editor/plugins/spatial_editor_plugin.cpp @@ -39,6 +39,9 @@ #include "scene/resources/surface_tool.h" #include "tools/editor/spatial_editor_gizmos.h" #include "globals.h" +#include "tools/editor/plugins/animation_player_editor_plugin.h" +#include "tools/editor/animation_editor.h" + #define DISTANCE_DEFAULT 4 @@ -1691,7 +1694,7 @@ void SpatialEditorViewport::_sinput(const InputEvent &p_event) { if (!get_selected_count() || _edit.mode!=TRANSFORM_NONE) break; - if (!editor->get_animation_editor()->has_keying()) { + if (!AnimationPlayerEditor::singleton->get_key_editor()->has_keying()) { set_message("Keying is disabled (no key inserted)."); break; } |