+1 vote

I have trouble to recompile Godot with edited .png files.
(the changes I did to files like Godot\scene\resources\defaulttheme\buttonnormal.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 ?

in Engine by (333 points)

1 Answer

0 votes

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.

by (9,768 points)
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?
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.