ソースを参照

Fixes the checkboxes update

Gilles Roudiere 7 年 前
コミット
e1de1b62ee
1 ファイル変更3 行追加0 行削除
  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;