defold / editor2-issues

DEPRECATED
44 stars 4 forks source link

Editor/Bob could warn if there are unused resources in a GUI #2153

Open britzl opened 6 years ago

britzl commented 6 years ago

From internal ticket (DEF-3246): The editor (and/or bob) should maybe warn if there are any unused resources (textures, Spine scenes, fonts) added to GUIs. It is very easy to forget to remove such resources when refactoring or copying GUIs in a project.

The best would be if they could generate a build error, but resources can be used to create nodes at runtime without them being used during build...

erikangelin-king commented 6 years ago

Related #1172

Jerakin commented 6 years ago

I use a python script to remove references like this in gui, written with DefTree