Open rm-software-programming opened 2 years ago
Update if i:
I have exactly the same issues.
Besides if you create a custom node (via class_name or a Custom Node Plugin) you create an item and give it a value, and it doesnt affect the custom node. The created node then have to set manually to type variation.
For reusability creating with Custom Node Plugin you should create with scene and give it variation.
If Custom Nodes have their own icon, can be added from "add child node" and see the logo in "add type" in them; they should be as any other built in classes in the theme editor. This would be SOOOOOO INCREDIBLE USEFULL.
This issue still exists in Godot 4.1 dev 2.
And after reloading the project, all Types will disappear in the theme editor, but they will still be visible in the inspector.
I would say these issues make the theme variant completely unavailable.
For the variations in the inspector, according to the document, if you set the theme as project theme, they will appear. This is also a bit unintuitive.
Godot version
3.5-stable
System information
Windows 11 64bits, GTX 1060, GLES3
Issue description
Bugs in the new theme variation features. Tested in godot 3.5 stable, and a build of godot made 25 august 2022. The bugs are on both.
https://user-images.githubusercontent.com/93253123/186544547-01425c13-84cf-42db-b7de-8e8439bf09ba.mp4
Steps to reproduce
Open the res://new_theme.tres.
Open the manage items.
Add two type.
Try to remove one of them, they all get deleted.
Open the res://new_theme.tres.
Open the manage items.
Add two type.
Close the manage items.
Select the button in the scene res://Button.tscn.
In the inspector go to the theme type variation property (the list is empty).
But if your write the name of one of type you just created before(click on the pencil icon) it works.
But if now you reselect nothing in the list, what you just typed desapear again, you need to write the name all the time.
Now reopen res://new_theme.tres.
For each types: select the base type button, and override the font color property for example (at least one property per item).
Open the item manager and you can remove them one by one. ThemeVariation.zip
Minimal reproduction project
No response