aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Roudiere2017-12-09 15:25:20 +0100
committerGilles Roudiere2017-12-09 15:25:20 +0100
commite1de1b62eeb2e4a7faa73c9b8c460f81c4fbb79a (patch)
treefe65c63f574a5eecfded81e31609b15718314cb4
parent7b02f5591d2a4c4d2d7da723b1303a99b6c4f168 (diff)
downloadgodot-e1de1b62eeb2e4a7faa73c9b8c460f81c4fbb79a.tar.gz
godot-e1de1b62eeb2e4a7faa73c9b8c460f81c4fbb79a.tar.zst
godot-e1de1b62eeb2e4a7faa73c9b8c460f81c4fbb79a.zip
Fixes the checkboxes update
-rw-r--r--editor/plugins/canvas_item_editor_plugin.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/plugins/canvas_item_editor_plugin.cpp b/editor/plugins/canvas_item_editor_plugin.cpp
index ddcdb5a32..a7733cd2d 100644
--- a/editor/plugins/canvas_item_editor_plugin.cpp
+++ b/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;