[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [667] trunk/py/scripts/addons: - last fix of fixes hopefully

Florian Meyer florianfelix at web.de
Sat May 15 06:32:56 CEST 2010


Revision: 667
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-extensions&revision=667
Author:   testscreenings
Date:     2010-05-15 06:32:55 +0200 (Sat, 15 May 2010)

Log Message:
-----------
- last fix of fixes hopefully
- RotationMatrix --> Matrix

Modified Paths:
--------------
    trunk/py/scripts/addons/add_mesh_gears.py
    trunk/py/scripts/addons/add_mesh_pipe_joint.py

Modified: trunk/py/scripts/addons/add_mesh_gears.py
===================================================================
--- trunk/py/scripts/addons/add_mesh_gears.py	2010-05-15 02:45:14 UTC (rev 666)
+++ trunk/py/scripts/addons/add_mesh_gears.py	2010-05-15 04:32:55 UTC (rev 667)
@@ -824,7 +824,7 @@
             and obj_align == 'VIEW'):
             rot = context.space_data.region_3d.view_matrix.rotation_part().invert().resize4x4()
         else:
-            rot = mathutils.RotationMatrix()
+            rot = mathutils.Matrix()
         self.newMatrix = loc * rot
         self.execute(context)
         return {'FINISHED'}
@@ -953,7 +953,7 @@
             and obj_align == 'VIEW'):
             rot = context.space_data.region_3d.view_matrix.rotation_part().invert().resize4x4()
         else:
-            rot = mathutils.RotationMatrix()
+            rot = mathutils.Matrix()
         self.newMatrix = loc * rot
         self.execute(context)
         return {'FINISHED'}

Modified: trunk/py/scripts/addons/add_mesh_pipe_joint.py
===================================================================
--- trunk/py/scripts/addons/add_mesh_pipe_joint.py	2010-05-15 02:45:14 UTC (rev 666)
+++ trunk/py/scripts/addons/add_mesh_pipe_joint.py	2010-05-15 04:32:55 UTC (rev 667)
@@ -429,7 +429,7 @@
             and obj_align == 'VIEW'):
             rot = context.space_data.region_3d.view_matrix.rotation_part().invert().resize4x4()
         else:
-            rot = mathutils.RotationMatrix()
+            rot = mathutils.Matrix()
         self.newMatrix = loc * rot
         self.execute(context)
         return {'FINISHED'}
@@ -638,7 +638,7 @@
             and obj_align == 'VIEW'):
             rot = context.space_data.region_3d.view_matrix.rotation_part().invert().resize4x4()
         else:
-            rot = mathutils.RotationMatrix()
+            rot = mathutils.Matrix()
         self.newMatrix = loc * rot
         self.execute(context)
         return {'FINISHED'}
@@ -863,7 +863,7 @@
             and obj_align == 'VIEW'):
             rot = context.space_data.region_3d.view_matrix.rotation_part().invert().resize4x4()
         else:
-            rot = mathutils.RotationMatrix()
+            rot = mathutils.Matrix()
         self.newMatrix = loc * rot
         self.execute(context)
         return {'FINISHED'}
@@ -1152,7 +1152,7 @@
             and obj_align == 'VIEW'):
             rot = context.space_data.region_3d.view_matrix.rotation_part().invert().resize4x4()
         else:
-            rot = mathutils.RotationMatrix()
+            rot = mathutils.Matrix()
         self.newMatrix = loc * rot
         self.execute(context)
         return {'FINISHED'}
@@ -1337,7 +1337,7 @@
             and obj_align == 'VIEW'):
             rot = context.space_data.region_3d.view_matrix.rotation_part().invert().resize4x4()
         else:
-            rot = mathutils.RotationMatrix()
+            rot = mathutils.Matrix()
         self.newMatrix = loc * rot
         self.execute(context)
         return {'FINISHED'}




More information about the Bf-extensions-cvs mailing list