diff options
Diffstat (limited to 'tools/editor/icons/SCsub')
-rw-r--r-- | tools/editor/icons/SCsub | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/editor/icons/SCsub b/tools/editor/icons/SCsub index ac942b20e3..f27350a184 100644 --- a/tools/editor/icons/SCsub +++ b/tools/editor/icons/SCsub @@ -2,6 +2,7 @@ Import('env') + def make_editor_icons_action(target, source, env): import os @@ -58,9 +59,6 @@ def make_editor_icons_action(target, source, env): except: s.write("static const unsigned char* " + var_str + "=NULL;\n\n\n"); - - - s.write("static Ref<ImageTexture> make_icon(const uint8_t* p_png,const uint8_t* p_hidpi_png) {\n") s.write("\tRef<ImageTexture> texture( memnew( ImageTexture ) );\n") s.write("\tbool use_hidpi_image=(editor_get_scale()>1.0&&p_hidpi_png);\n") |