Kaynağa Gözat

Fixed bug in OBJ converter which was preventing it from not using any alignment ("-a none").

alteredq 15 yıl önce
ebeveyn
işleme
0f3ba92d7e

+ 1 - 1
utils/exporters/convert_obj_threejs_slim.py

@@ -1228,7 +1228,7 @@ if __name__ == "__main__":
             outfile = a
             outfile = a
 
 
         elif o in ("-a", "--align"):
         elif o in ("-a", "--align"):
-            if a in ("top", "bottom", "center"):
+            if a in ("top", "bottom", "center","none"):
                 ALIGN = a
                 ALIGN = a
 
 
         elif o in ("-s", "--shading"):
         elif o in ("-s", "--shading"):

粤ICP备19079148号