[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [1007] contrib/py/scripts/addons/ space_view3d_copy_attributes.py: fixes for changes in the py api ( use_hinge and use_inherit_scale)

bassam kurdali bkurdali at freefactory.org
Fri Sep 10 22:08:49 CEST 2010


Revision: 1007
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-extensions&revision=1007
Author:   bassamk
Date:     2010-09-10 22:08:49 +0200 (Fri, 10 Sep 2010)

Log Message:
-----------
fixes for changes in the py api (use_hinge and use_inherit_scale)

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

Modified: contrib/py/scripts/addons/space_view3d_copy_attributes.py
===================================================================
--- contrib/py/scripts/addons/space_view3d_copy_attributes.py	2010-09-10 14:45:35 UTC (rev 1006)
+++ contrib/py/scripts/addons/space_view3d_copy_attributes.py	2010-09-10 20:08:49 UTC (rev 1007)
@@ -121,9 +121,9 @@
 
 def pVisLocExec(bone, active, context): bone.location = getmat(bone,active,context,False).translation_part()
 
-def pVisRotExec(bone, active, context): rotcopy(bone,  getmat(bone,active,context,not context.active_object.data.bones[bone.name].hinge ))
+def pVisRotExec(bone, active, context): rotcopy(bone,  getmat(bone,active,context,not context.active_object.data.bones[bone.name].use_hinge ))
 
-def pVisScaExec(bone, active, context): bone.scale = getmat(bone,active,context , not context.active_object.data.bones[bone.name].inherit_scale ).scale_part()
+def pVisScaExec(bone, active, context): bone.scale = getmat(bone,active,context , not context.active_object.data.bones[bone.name].use_inherit_scale ).scale_part()
 
 def pDrwExec(bone, active, context): bone.custom_shape = active.custom_shape
 




More information about the Bf-extensions-cvs mailing list