godot icon indicating copy to clipboard operation
godot copied to clipboard

GDExtension classes inheriting from Resource are not using icons in FileSystem

Open Withaust opened this issue 1 year ago • 0 comments

Tested versions

4.3 dev 1

System information

Windows 10 Godot 4.3 dev 1 Vulkan

Issue description

I am aware there is https://github.com/godotengine/godot/issues/32706, but it does not seem to cover GDExtensions.

Currently, GDExtension classes inheriting from Resource are not using icons in FileSystem. It seems to work in every other place, but not in FileSystem for some reason.

image image image

Steps to reproduce

  1. Create a class in GDExtension that inherits Resource
  2. Assign an icon in .gdextension file to said class
  3. Observe how FileSystem is using default icon for this class, while the property viewer is displaying everything as expected

Minimal reproduction project (MRP)

You can see an example in the root of the project here image IconTest.zip

Withaust avatar Sep 24 '24 00:09 Withaust