Browse Source

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

alteredq 14 years ago
parent
commit
0f3ba92d7e
1 changed files with 1 additions and 1 deletions
  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
             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"):