Recompile godot with new .png files for the GUI

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Toger5
:warning: Old Version Published before Godot 3 was released.

I have trouble to recompile Godot with edited .png files.
(the changes I did to files like Godot\scene\resources\default_theme\button_normal.png don’t take effect. At least I cant see the changes in the compiled Programm)

Even if I do scons platform=windows -c,
for a clean recompile. Image files still don’t get changed.
I once got it compiled with changes, I made to some png. files. I think that was because I also change one or two lines of code.

How can I get Godot compiled that changes at .png files take effect?
Or is there maybe even a way to just apply edited image files without recompile the whole engine ?

:bust_in_silhouette: Reply From: volzhs

There is cpp file in tools/editor/editor_icons.cpp.
AFAIK, default gui uses this file which has png image info, instead of .png files.

Okay thats new to me, thank you.
But how can I than change the gui theme. I once did it by modifying the .png files. How?

Toger5 | 2016-03-03 19:24