diff options
author | rsjtdrjgfuzkfg <public@rsjtdrjgfuzkfg.com> | 2023-02-16 20:41:51 +0100 |
---|---|---|
committer | rsjtdrjgfuzkfg <public@rsjtdrjgfuzkfg.com> | 2023-02-16 20:41:51 +0100 |
commit | 331dd33009289915619bb1ab7d76d156d951183a (patch) | |
tree | 1abc926b0dc9d300b6a948fcd8ea335e7886b09e /editor/icons/Transpose.svg | |
parent | 29f670b7ab28d6393b0a61d6860decc69c2dc1ec (diff) |
Theme Editor: fix leading styleboxes / main styles
Recent changes in Godot cause the theme editor to become hidden when
editing a child resource. This causes a crash when editing style box
resources marked as "main styles" (= leading styleboxes in the code), as
they try to reference the currently edited theme.
This commit works around the issue by permitting the Theme Editor to
keep a reference to the most recently edited Theme. Furthermore, it adds
an assertion to avoid a similar crash in the future.
Long-term, the workaround should probably be removed when the theme editor
is fixed to remain visible while editing child resources, but I'd keep
the assertion.
Diffstat (limited to 'editor/icons/Transpose.svg')
0 files changed, 0 insertions, 0 deletions