2
0
Эх сурвалжийг харах

Fix 2D editor checkboxes with a new project

Gilles Roudiere 7 жил өмнө
parent
commit
b8c849205c

+ 1 - 1
editor/plugins/canvas_item_editor_plugin.cpp

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