Fix get_edited_scene_root error at starting editor
This commit is contained in:
parent
75d0aeb0e9
commit
81a79e0c0e
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue