obj export broke since api updates to mathutils
authorCampbell Barton <ideasman42@gmail.com>
Mon, 1 Feb 2010 23:52:46 +0000 (23:52 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 1 Feb 2010 23:52:46 +0000 (23:52 +0000)
release/scripts/io/export_obj.py

index abc7c5a6379e897447a131b1cd5b7e85fa8dfa01..241325c7d339d6491ba9be08ca053f0dfa8248f7 100644 (file)
@@ -370,7 +370,7 @@ def write(filename, objects, scene,
         file.write('mtllib %s\n' % ( mtlfilename.split('\\')[-1].split('/')[-1] ))
 
     if EXPORT_ROTX90:
-        mat_xrot90= Mathutils.RotationMatrix(-math.pi/2, 4, 'x')
+        mat_xrot90= Mathutils.RotationMatrix(-math.pi/2, 4, 'X')
 
     # Initialize totals, these are updated each object
     totverts = totuvco = totno = 1