From 75963e4c2c896d35c8907f5e36f1edc79b213678 Mon Sep 17 00:00:00 2001
From: Bassam Kurdali <bkurdali@freefactory.org>
Date: Sun, 21 Nov 2010 17:25:41 +0000
Subject: [PATCH] updated to trunk api change matrix_local -> matrix basis (for
 pose bones)

---
 space_view3d_copy_attributes.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/space_view3d_copy_attributes.py b/space_view3d_copy_attributes.py
index 89e6f8622..ece2b4829 100644
--- a/space_view3d_copy_attributes.py
+++ b/space_view3d_copy_attributes.py
@@ -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 pLocLocExec(bone, active, context):
 
 
 def pLocRotExec(bone, active, context):
-    rotcopy(bone, active.matrix_local.rotation_part())
+    rotcopy(bone, active.matrix_basis.rotation_part())
 
 
 def pLocScaExec(bone, active, context):
-- 
GitLab