Fix get_edited_scene_root error at starting editor

This commit is contained in:
volzhs 2017-12-10 08:01:00 +09:00
parent 75d0aeb0e9
commit 81a79e0c0e
2 changed files with 2 additions and 2 deletions

View file

@ -4344,7 +4344,7 @@ CanvasItemEditor::CanvasItemEditor(EditorNode *p_editor) {
additive_selection = false;
// Update the menus checkboxes
set_state(get_state());
call_deferred("set_state", get_state());
}
CanvasItemEditor *CanvasItemEditor::singleton = NULL;

View file

@ -343,7 +343,7 @@ AutotileEditor::AutotileEditor(EditorNode *p_editor) {
split->add_child(property_editor);
helper = memnew(AutotileEditorHelper(this));
property_editor->edit(helper);
property_editor->call_deferred("edit", helper);
// Editor