diff options
author | volzhs <volzhs@gmail.com> | 2017-12-10 08:01:00 +0900 |
---|---|---|
committer | volzhs <volzhs@gmail.com> | 2017-12-10 08:01:00 +0900 |
commit | 81a79e0c0e80aafd2c8a4d250202328176da676e (patch) | |
tree | a95f1141d2d21a1007d638592617a856e4786e0b /editor/plugins/canvas_item_editor_plugin.cpp | |
parent | 75d0aeb0e9250db729ddba56570386f7c10084af (diff) |
Fix get_edited_scene_root error at starting editor
Diffstat (limited to 'editor/plugins/canvas_item_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/canvas_item_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/canvas_item_editor_plugin.cpp b/editor/plugins/canvas_item_editor_plugin.cpp index e63bc3ad9f..150c184e90 100644 --- a/editor/plugins/canvas_item_editor_plugin.cpp +++ b/editor/plugins/canvas_item_editor_plugin.cpp @@ -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; |