Skip to content
Snippets Groups Projects
Commit 5d62a34f authored by ZanQdo's avatar ZanQdo
Browse files

Copy Atributes Addon

Adding new custom shape parameters to copy atributes addon
parent 708e8714
No related branches found
No related tags found
No related merge requests found
...@@ -161,6 +161,8 @@ def pVisScaExec(bone, active, context): ...@@ -161,6 +161,8 @@ def pVisScaExec(bone, active, context):
def pDrwExec(bone, active, context): def pDrwExec(bone, active, context):
bone.custom_shape = active.custom_shape 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 bone.bone.show_wire = active.bone.show_wire
...@@ -188,7 +190,7 @@ def pIKsExec(bone, active, context): ...@@ -188,7 +190,7 @@ def pIKsExec(bone, active, context):
def pBBonesExec(bone, active, context): def pBBonesExec(bone, active, context):
object = active.id_data object = active.id_data
generic_copy( generic_copy(
object.data.bones[active.name], object.data.bones[active.name],
object.data.bones[bone.name], object.data.bones[bone.name],
"bbone_") "bbone_")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment