You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you export Node (after #62470), you can't tell what type it expects from looking at the inspector:
Moreover, when you click Assign, you see list of nodes and the wrong types are disabled. But if there is no expected type in the list, you don't know what type it wants. You need to look into the script.
In the inspector, we could have an icon of the expected node type.
In the scene picker dialog, the type could be in the title.
Steps to reproduce
Export some Node type variable
Forget the type
Try to assign it
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered:
I think that adding the icon next to the slot would be a good idea, but it could be confusing when typing with an abstract class such as PhysicsBody3D as those dont have specific icons.
I think that adding the icon next to the slot would be a good idea, but it could be confusing when typing with an abstract class such as PhysicsBody3D as those dont have specific icons.
Problem is multiple Node types can be exported at the same time, and they don't even have to be related (something along the lines of @export_node_path(Node2D, Node3D) is completely valid and filters accordingly). I believe an icon would also be mostly intrusive to the name of the actual Node, which is probably more important. Selected Node's type can be inferred by context.
I'm currently thinking of displaying it in the selection window, in a nicer way than the title which, I tested, would not fit. It's easily possible to see what Node types are being filtered. The problem is figuring out something that looks good.
Godot version
5ab59ee
System information
Windows 10 x64
Issue description
When you export Node (after #62470), you can't tell what type it expects from looking at the inspector:
Moreover, when you click Assign, you see list of nodes and the wrong types are disabled. But if there is no expected type in the list, you don't know what type it wants. You need to look into the script.
In the inspector, we could have an icon of the expected node type.
In the scene picker dialog, the type could be in the title.
Steps to reproduce
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: