diff options
| author | Rémi Verschelde | 2017-12-10 00:12:42 +0100 |
|---|---|---|
| committer | GitHub | 2017-12-10 00:12:42 +0100 |
| commit | 4fd26d89c1ea3c5221bf3040a505eecd45f4bf61 (patch) | |
| tree | 402e6695c2c8ef820a71c409003a288e86cac0a5 /editor/plugins/canvas_item_editor_plugin.cpp | |
| parent | aeae05a2f40e5759b68f1675b3f41a6643627214 (diff) | |
| parent | 81a79e0c0e80aafd2c8a4d250202328176da676e (diff) | |
| download | godot-4fd26d89c1ea3c5221bf3040a505eecd45f4bf61.tar.gz godot-4fd26d89c1ea3c5221bf3040a505eecd45f4bf61.tar.zst godot-4fd26d89c1ea3c5221bf3040a505eecd45f4bf61.zip | |
Merge pull request #14480 from volzhs/startup-error
Fix get_edited_scene_root error at starting editor
Diffstat (limited to '')
| -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 e63bc3ad9..150c184e9 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; |
