mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Initialize editor values on first launch
(cherry picked from commit b0eadcfbce)
This commit is contained in:
parent
967ad04928
commit
177be9bd37
2 changed files with 6 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue