Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't set properties that are present but not set in the editor theme #1

Open
leogott opened this issue Oct 3, 2024 · 0 comments · May be fixed by #2
Open

Can't set properties that are present but not set in the editor theme #1

leogott opened this issue Oct 3, 2024 · 0 comments · May be fixed by #2

Comments

@leogott
Copy link

leogott commented Oct 3, 2024

Certain properties can't be set with ThemeGen, because they are not set / null in the default theme. So has_... fails and Item type can't be inferred for those.
Two examples are icon and hover_pressed for the Button

--- Debugging process stopped ---
  core/variant/variant_utility.cpp:1092 - Item name 'hover_pressed' not recognized for type 'Button'.
  core/variant/variant_utility.cpp:1092 - Item name 'icon' not recognized for type 'Button'.
=== ThemeGen v1.1 by Inspiaaa ===
[ThemeGen] Discovered 1 theme(s).
--- EditorScript(my_theme.gd)::setup ---
[ThemeGen] Setting up theme generation.... (EditorScript(my_theme.gd)::setup)
[ThemeGen] Generating theme... (EditorScript(my_theme.gd)::define_theme)
[ThemeGen] Loading default font...
[ThemeGen] Loading variants...
[ThemeGen] Loading styles...
[ThemeGen] > Style 'Button':
[ThemeGen]   > Preprocessing...
[ThemeGen]   > Loading...
[ThemeGen] Theme generation finished.
---
===

ThemeGen v1.1
Godot 4.3-stable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant