You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
Created new Engine singleton, and moved engine related OS functions to it.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user