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
I have created a custom node both in GDScript and C#. The C# node is registered using an editor plugin. Both nodes refer to the same icon to be used as node icon. The icon is 512x512 pixels.
In the editor the icon of the custom GD-Script node is properly scaled to the icon size that all nodes have, but the icon of the custom C# node is not scaled at all:
Steps to reproduce
Using the attached project:
In the project settings enable the custom nodes plugin. This should load the custom node.
Open narf.tscn to see the oversized icons in node tree and scene tab.
Add a new node using the + button, to see the difference between C# custom node and GDScript custom node, both using the very same icon file.
I have created a custom node both in GDScript and C#. The C# node is registered using an editor plugin. Both nodes refer to the same icon to be used as node icon. The icon is 512x512 pixels.
In the editor the icon of the custom GD-Script node is properly scaled to the icon size that all nodes have, but the icon of the custom C# node is not scaled at all:
Note that behavior is the same in GDScript for the types added with the EditorPlugin's add_custom_type() method (contrary to those added with class_name). So that's not C# specific issue, textures seem to be not scaled for any type added using add_custom_type() (or its equivalent in C# etc.).
Godot version
v3.3.3.stable.mono.official [b973f99]
System information
Windows 10
Issue description
I have created a custom node both in GDScript and C#. The C# node is registered using an editor plugin. Both nodes refer to the same icon to be used as node icon. The icon is 512x512 pixels.
In the editor the icon of the custom GD-Script node is properly scaled to the icon size that all nodes have, but the icon of the custom C# node is not scaled at all:
Steps to reproduce
Using the attached project:
narf.tscn
to see the oversized icons in node tree and scene tab.Minimal reproduction project
IconIssue.zip
The text was updated successfully, but these errors were encountered: