#Altering the Scene Dock / Scene Tree (Adding a custom icon to the hierachy)

1 messages · Page 1 of 1 (latest)

dusk bobcat
#

For my plugin, Godot Doctor (https://www.github.com/codevogel/godot_doctor),

I would like to add a feature which displays a warning symbol, similar as to how _get_configuration_warnings() displays a little warning triangle when it returns a string in it's PackedStringArray.
Is it possible to add such a warning icon to the scene tree without rebuilding the entire Scene dock?

stray relic
#

there is a way inside the engine, but again, not exposed to scripting

dusk bobcat
stray relic
#

Yeah I know what it is

dusk bobcat
stray relic
#

At best, there could be a method to get the SceneTreeEditor from EditorInterface, but I don't know if that's something that would be liked