Fix get_edited_scene_root error at starting editor
This commit is contained in:
parent
75d0aeb0e9
commit
81a79e0c0e
|
@ -4344,7 +4344,7 @@ CanvasItemEditor::CanvasItemEditor(EditorNode *p_editor) {
|
||||||
additive_selection = false;
|
additive_selection = false;
|
||||||
|
|
||||||
// Update the menus checkboxes
|
// Update the menus checkboxes
|
||||||
set_state(get_state());
|
call_deferred("set_state", get_state());
|
||||||
}
|
}
|
||||||
|
|
||||||
CanvasItemEditor *CanvasItemEditor::singleton = NULL;
|
CanvasItemEditor *CanvasItemEditor::singleton = NULL;
|
||||||
|
|
|
@ -343,7 +343,7 @@ AutotileEditor::AutotileEditor(EditorNode *p_editor) {
|
||||||
split->add_child(property_editor);
|
split->add_child(property_editor);
|
||||||
|
|
||||||
helper = memnew(AutotileEditorHelper(this));
|
helper = memnew(AutotileEditorHelper(this));
|
||||||
property_editor->edit(helper);
|
property_editor->call_deferred("edit", helper);
|
||||||
|
|
||||||
// Editor
|
// Editor
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue