[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [1177] trunk/py/scripts/addons/ space_view3d_copy_attributes.py: updated to trunk api change matrix_local - > matrix basis (for pose bones)

bassam kurdali bkurdali at freefactory.org
Sun Nov 21 18:25:42 CET 2010


Revision: 1177
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-extensions&revision=1177
Author:   bassamk
Date:     2010-11-21 18:25:41 +0100 (Sun, 21 Nov 2010)

Log Message:
-----------
updated to trunk api change matrix_local -> matrix basis (for pose bones)

Modified Paths:
--------------
    trunk/py/scripts/addons/space_view3d_copy_attributes.py

Modified: trunk/py/scripts/addons/space_view3d_copy_attributes.py
===================================================================
--- trunk/py/scripts/addons/space_view3d_copy_attributes.py	2010-11-21 16:15:04 UTC (rev 1176)
+++ trunk/py/scripts/addons/space_view3d_copy_attributes.py	2010-11-21 17:25:41 UTC (rev 1177)
@@ -21,9 +21,9 @@
 bl_addon_info = {
     'name': 'Copy Attributes Menu',
     'author': 'Bassam Kurdali, Fabian Fricke, wiseman303',
-    'version': (0, 40),
-    'blender': (2, 5, 4),
-    'api': 32411,
+    'version': (0, 41),
+    'blender': (2, 5, 5),
+    'api': 33215,
     'location': 'View3D > Ctrl/C',
     'description': 'Copy Attributes Menu from Blender 2.4',
     'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/'\
@@ -146,7 +146,7 @@
 
 
 def pLocRotExec(bone, active, context):
-    rotcopy(bone, active.matrix_local.rotation_part())
+    rotcopy(bone, active.matrix_basis.rotation_part())
 
 
 def pLocScaExec(bone, active, context):




More information about the Bf-extensions-cvs mailing list