[Bf-extensions-cvs] [5d62a34] master: Copy Atributes Addon

ZanQdo noreply at git.blender.org
Fri Oct 2 05:27:33 CEST 2015


Commit: 5d62a34ffb2dde2a5c2e23b04b7a03d10e010cf7
Author: ZanQdo
Date:   Thu Oct 1 21:26:05 2015 -0600
Branches: master
https://developer.blender.org/rBA5d62a34ffb2dde2a5c2e23b04b7a03d10e010cf7

Copy Atributes Addon

Adding new custom shape parameters to copy atributes addon

===================================================================

M	space_view3d_copy_attributes.py

===================================================================

diff --git a/space_view3d_copy_attributes.py b/space_view3d_copy_attributes.py
index d6edff2..91f6ea6 100644
--- a/space_view3d_copy_attributes.py
+++ b/space_view3d_copy_attributes.py
@@ -161,6 +161,8 @@ def pVisScaExec(bone, active, context):
 
 def pDrwExec(bone, active, context):
     bone.custom_shape = active.custom_shape
+    bone.use_custom_shape_bone_size = active.use_custom_shape_bone_size
+    bone.custom_shape_scale = active.custom_shape_scale
     bone.bone.show_wire = active.bone.show_wire
 
 
@@ -188,7 +190,7 @@ def pIKsExec(bone, active, context):
 def pBBonesExec(bone, active, context):
     object = active.id_data
     generic_copy(
-        object.data.bones[active.name], 
+        object.data.bones[active.name],
         object.data.bones[bone.name],
         "bbone_")



More information about the Bf-extensions-cvs mailing list