Fixed a bug in generate_assets script
This commit is contained in:
parent
c72cf74138
commit
c23f1bbc5b
@ -181,6 +181,9 @@ convert_image()
|
|||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
SCALE_CMD=""
|
||||||
|
QUALITY_CMD=""
|
||||||
|
|
||||||
if [ $W -gt $TEXTURE_SIZE ] || [ $H -gt $TEXTURE_SIZE ]; then
|
if [ $W -gt $TEXTURE_SIZE ] || [ $H -gt $TEXTURE_SIZE ]; then
|
||||||
if [ $W -gt $H ]; then
|
if [ $W -gt $H ]; then
|
||||||
SCALED_W=$TEXTURE_SIZE
|
SCALED_W=$TEXTURE_SIZE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user