[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [1845] trunk/py/scripts/addons/ space_view3d_copy_attributes.py: fixed Matrix.invert() to Matrix.inverted() due to changes in py api, thanks Jason for bugging me :)
bassam kurdali
bkurdali at freefactory.org
Sun Apr 17 23:18:13 CEST 2011
Revision: 1845
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=1845
Author: bassamk
Date: 2011-04-17 21:18:13 +0000 (Sun, 17 Apr 2011)
Log Message:
-----------
fixed Matrix.invert() to Matrix.inverted() due to changes in py api, thanks Jason for bugging me :)
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 2011-04-17 19:59:41 UTC (rev 1844)
+++ trunk/py/scripts/addons/space_view3d_copy_attributes.py 2011-04-17 21:18:13 UTC (rev 1845)
@@ -21,9 +21,9 @@
bl_info = {
'name': 'Copy Attributes Menu',
'author': 'Bassam Kurdali, Fabian Fricke, wiseman303',
- 'version': (0, 4, 2),
+ 'version': (0, 4, 3),
"blender": (2, 5, 7),
- "api": 35622,
+ "api": 36200,
'location': 'View3D > Ctrl-C',
'description': 'Copy Attributes Menu from Blender 2.4',
'wiki_url': 'http://wiki.blender.org/index.php/Extensions:2.5/Py/'\
@@ -109,11 +109,11 @@
parentbonemat.identity()
if parentbonemat == parentposemat or ignoreparent:
- newmat = bonemat_local.invert() * otherloc
+ newmat = bonemat_local.inverted() * otherloc
else:
- bonemat = parentbonemat.invert() * bonemat_local
+ bonemat = parentbonemat.inverted() * bonemat_local
- newmat = bonemat.invert() * parentposemat.invert() * otherloc
+ newmat = bonemat.inverted() * parentposemat.inverted() * otherloc
return newmat
@@ -776,4 +776,4 @@
km.keymap_items.remove(kmi)
if __name__ == "__main__":
- register()
+ register()
\ No newline at end of file
More information about the Bf-extensions-cvs
mailing list