[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [4777] contrib/py/scripts/addons/ curve_tools.py: correct wrong api use

Campbell Barton ideasman42 at gmail.com
Sun Sep 29 10:37:38 CEST 2013


Revision: 4777
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=4777
Author:   campbellbarton
Date:     2013-09-29 08:37:38 +0000 (Sun, 29 Sep 2013)
Log Message:
-----------
correct wrong api use

Modified Paths:
--------------
    contrib/py/scripts/addons/curve_tools.py

Modified: contrib/py/scripts/addons/curve_tools.py
===================================================================
--- contrib/py/scripts/addons/curve_tools.py	2013-09-29 07:47:11 UTC (rev 4776)
+++ contrib/py/scripts/addons/curve_tools.py	2013-09-29 08:37:38 UTC (rev 4777)
@@ -696,10 +696,10 @@
 
         #if angle1!=0.0 and angle2!=0: we can avoid some operations by doing this check but im lazy
         cr1 = der1.cross(der10)
-        rot1 = Matrix().Rotation(-angle1, 3, cr1)
+        rot1 = Matrix.Rotation(-angle1, 3, cr1)
 
         cr2 = der2.cross(der20)
-        rot2 = Matrix().Rotation(-angle2, 3, cr2)
+        rot2 = Matrix.Rotation(-angle2, 3, cr2)
 
         if proportional:
             mult = rmag/r0mag



More information about the Bf-extensions-cvs mailing list