paddy-exe / GDExtensionSummator

The Summator Example from Custom Modules made with the GDExtension system in Godot 4
The Unlicense
173 stars 19 forks source link

Custom node icons #9

Closed bitbrain closed 3 months ago

bitbrain commented 2 years ago

I haven't figured this out myself yet but having a custom .svg icon for one of the nodes might be great.

paddy-exe commented 2 years ago

I created an issue in the godot-cpp repo for this since it's not exposed (afaik): https://github.com/godotengine/godot-cpp/issues/863

paddy-exe commented 1 year ago

This issue should be solved soon I think: https://github.com/godotengine/godot/pull/75472

YuriSizov commented 1 year ago

I didn't mention it in the PR, but icons need to come with *.import files alongside them, configured to scale and adjust colors with the editor (same principle as you now need to apply to icons added with an editor plugin). Perhaps this could be automated in some way as a build step.

paddy-exe commented 3 months ago

I will close this issue per merged docs PR from me for the official documentation: https://github.com/godotengine/godot-docs/pull/9383