1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-09 12:50:35 +00:00

Initialize editor values on first launch

This commit is contained in:
kobewi
2023-04-08 00:01:29 +02:00
parent e684d126ed
commit b0eadcfbce
2 changed files with 6 additions and 1 deletions

View File

@@ -5407,6 +5407,7 @@ CanvasItemEditor::CanvasItemEditor() {
singleton = this;
set_process_shortcut_input(true);
clear(); // Make sure values are initialized.
// Update the menus' checkboxes.
callable_mp(this, &CanvasItemEditor::set_state).bind(get_state()).call_deferred();