diff options
| author | Juan Linietsky <reduzio@gmail.com> | 2018-06-07 12:46:14 -0300 |
|---|---|---|
| committer | Juan Linietsky <reduzio@gmail.com> | 2018-06-07 12:52:00 -0300 |
| commit | b659fd6d7442701284cbb8763fb712be36d17ed0 (patch) | |
| tree | 4c5bcc78fb9ae1c77e91854b5ee90acbdaadeba9 /editor/plugins/spatial_editor_plugin.cpp | |
| parent | 3cd09cd9437ba7ad1755734beae3fd2c1e594566 (diff) | |
| download | redot-engine-b659fd6d7442701284cbb8763fb712be36d17ed0.tar.gz | |
Entirely new (and much improved) animation editor.
Diffstat (limited to 'editor/plugins/spatial_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/spatial_editor_plugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/spatial_editor_plugin.cpp b/editor/plugins/spatial_editor_plugin.cpp index 5b713ef3c4..f02efd9e4d 100644 --- a/editor/plugins/spatial_editor_plugin.cpp +++ b/editor/plugins/spatial_editor_plugin.cpp @@ -32,7 +32,7 @@ #include "camera_matrix.h" #include "core/os/input.h" -#include "editor/animation_editor.h" + #include "editor/editor_node.h" #include "editor/editor_settings.h" #include "editor/plugins/animation_player_editor_plugin.h" @@ -1829,7 +1829,7 @@ void SpatialEditorViewport::_sinput(const Ref<InputEvent> &p_event) { if (!get_selected_count() || _edit.mode != TRANSFORM_NONE) return; - if (!AnimationPlayerEditor::singleton->get_key_editor()->has_keying()) { + if (!AnimationPlayerEditor::singleton->get_track_editor()->has_keying()) { set_message(TTR("Keying is disabled (no key inserted).")); return; } |
