Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gavrilov <angavrilov@gmail.com>2021-05-11 20:20:18 +0300
committerAlexander Gavrilov <angavrilov@gmail.com>2021-05-11 20:20:18 +0300
commitbb16aba5bd3873794eefe167497118b6063b9a85 (patch)
tree386f8368a20452dcbf25b5152bf8b16a618c967f /space_view3d_copy_attributes.py
parent7324beddde4695ce952188f9cdb6e21a9631eeed (diff)
Fix addons to use PoseBone.custom_shape_scale_xyz.
Use new properties introduced in rBfc5bf09fd88c33.
Diffstat (limited to 'space_view3d_copy_attributes.py')
-rw-r--r--space_view3d_copy_attributes.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/space_view3d_copy_attributes.py b/space_view3d_copy_attributes.py
index 93dfaa38..2d1fff59 100644
--- a/space_view3d_copy_attributes.py
+++ b/space_view3d_copy_attributes.py
@@ -177,7 +177,9 @@ 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.custom_shape_translation = active.custom_shape_translation
+ bone.custom_shape_rotation_euler = active.custom_shape_rotation_euler
+ bone.custom_shape_scale_xyz = active.custom_shape_scale_xyz
bone.bone.show_wire = active.bone.show_wire