Explorar o código

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

alteredq %!s(int64=15) %!d(string=hai) anos
pai
achega
0f3ba92d7e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      utils/exporters/convert_obj_threejs_slim.py

+ 1 - 1
utils/exporters/convert_obj_threejs_slim.py

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

粤ICP备19079148号