diff options
| author | Juan Linietsky | 2017-01-13 12:51:14 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-01-13 12:51:14 -0300 |
| commit | e53c247cb16b25b828461f32533da64f4fab0e0b (patch) | |
| tree | 985328cee0387b987889ecccb65293bf87883dec /tools/editor/animation_editor.cpp | |
| parent | 0ad9939603a3d659f3f9cfba095a2e0c082483e8 (diff) | |
| download | godot-e53c247cb16b25b828461f32533da64f4fab0e0b.tar.gz godot-e53c247cb16b25b828461f32533da64f4fab0e0b.tar.zst godot-e53c247cb16b25b828461f32533da64f4fab0e0b.zip | |
Created new Engine singleton, and moved engine related OS functions to it.
Diffstat (limited to 'tools/editor/animation_editor.cpp')
| -rw-r--r-- | tools/editor/animation_editor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/animation_editor.cpp b/tools/editor/animation_editor.cpp index 4937407cc..bdf4e8323 100644 --- a/tools/editor/animation_editor.cpp +++ b/tools/editor/animation_editor.cpp @@ -3289,14 +3289,14 @@ bool AnimationKeyEditor::has_keying() const { void AnimationKeyEditor::_query_insert(const InsertData& p_id) { - if (insert_frame!=OS::get_singleton()->get_frames_drawn()) { + if (insert_frame!=Engine::get_singleton()->get_frames_drawn()) { //clear insert list for the frame if frame changed if (insert_confirm->is_visible_in_tree()) return; //do nothing insert_data.clear(); insert_query=false; } - insert_frame=OS::get_singleton()->get_frames_drawn(); + insert_frame=Engine::get_singleton()->get_frames_drawn(); for (List<InsertData>::Element *E=insert_data.front();E;E=E->next()) { //prevent insertion of multiple tracks |
