Selaa lähdekoodia

Merge pull request #14448 from groud/fix_checkboxes_update

Fixes the checkboxes update in canvas item editor
Rémi Verschelde 7 vuotta sitten
vanhempi
commit
59657d6823
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. 3 0
      editor/plugins/canvas_item_editor_plugin.cpp

+ 3 - 0
editor/plugins/canvas_item_editor_plugin.cpp

@@ -4342,6 +4342,9 @@ CanvasItemEditor::CanvasItemEditor(EditorNode *p_editor) {
 	drag = DRAG_NONE;
 	bone_last_frame = 0;
 	additive_selection = false;
+
+	// Update the menus checkboxes
+	set_state(get_state());
 }
 
 CanvasItemEditor *CanvasItemEditor::singleton = NULL;