From 2cf712a0be2aec7061ba4d3e310cef39e4ec85a6 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 18 Nov 2017 06:13:08 +0100 Subject: [PATCH] Fix broken alpha in texture converter --- tools/Texture_Converter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/Texture_Converter.py b/tools/Texture_Converter.py index 3faf8d6bb..ca2c4acba 100755 --- a/tools/Texture_Converter.py +++ b/tools/Texture_Converter.py @@ -118,7 +118,7 @@ tex_dir = base_dir + "/assets/minecraft/textures" def convert_alphatex(colormap, source, colormap_pixel, texture_size, destination): os.system("convert "+colormap+" -crop 1x1+"+colormap_pixel+" -depth 8 -resize "+texture_size+"x"+texture_size+" "+tempfile1.name) os.system("composite -compose Multiply "+tempfile1.name+" "+source+" "+tempfile2.name) - os.system("composite -compose Dst_In "+source+" "+tempfile1.name+" -alpha Set "+destination) + os.system("composite -compose Dst_In "+source+" "+tempfile2.name+" -alpha Set "+destination) def target_dir(directory): if make_texture_pack: