]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blobdiff - textures/phillipk2x/makenorms.sh
Work around imagemagick regression that puts everything upside down
[xonotic/xonotic-maps.pk3dir.git] / textures / phillipk2x / makenorms.sh
index d7a31c7a4cd89ceb37f49b7ca50ae17686055141..9b423e925628139ebb4cafc22abbd95983c2166d 100644 (file)
@@ -8,6 +8,6 @@ for X in */*_norm.tga; do
        echo "change 1"
        ../../../../misc/tools/fft-normalmap-to-heightmap-soft.sh "$X" "$X" none 0.149 0
        echo "."
-       convert "$X" -alpha extract "out/`echo "$X" | tr / -`"
+       convert "$X" -auto-orient -alpha extract "out/`echo "$X" | tr / -`"
 done
 echo "wq"