فهرست منبع

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;