diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-08-21 21:36:04 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-08-21 21:38:05 +0300 |
commit | e6f8f189023d1472f77797789e0c2bea78716df6 (patch) | |
tree | aa4c7021d4c67d2ee23c10c68964267222924810 /source/blender/editors/armature/armature_utils.c | |
parent | e83f0922011243a0085975fe41930ed34bb6c009 (diff) |
Cleanup: clang-format
Diffstat (limited to 'source/blender/editors/armature/armature_utils.c')
-rw-r--r-- | source/blender/editors/armature/armature_utils.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/source/blender/editors/armature/armature_utils.c b/source/blender/editors/armature/armature_utils.c index 63b55a3f1b8..cd299906b4c 100644 --- a/source/blender/editors/armature/armature_utils.c +++ b/source/blender/editors/armature/armature_utils.c @@ -381,8 +381,12 @@ void armature_tag_unselect(bArmature *arm) void ED_armature_ebone_transform_mirror_update(bArmature *arm, EditBone *ebo, bool check_select) { - /* TODO When this function is called by property updates, cancelling the value change will not restore mirrored bone correctly. */ - /* Currently check_select==true when this function is called from a transform operator, eg. from 3d viewport. */ + /* TODO When this function is called by property updates, + * cancelling the value change will not restore mirrored bone correctly. */ + + /* Currently check_select==true when this function is called from a transform operator, + * eg. from 3d viewport. */ + /* no layer check, correct mirror is more important */ if (!check_select || ebo->flag & (BONE_TIPSEL | BONE_ROOTSEL)) { EditBone *eboflip = ED_armature_ebone_get_mirrored(arm->edbo, ebo); @@ -440,7 +444,8 @@ void ED_armature_ebone_transform_mirror_update(bArmature *arm, EditBone *ebo, bo if (!check_select || ebo->flag & BONE_SELECTED) { /* Mirror bone body properties (both head and tail are selected). */ - /* TODO: These values can also be changed from pose mode, so only mirroring them in edit mode is not ideal. */ + /* TODO: These values can also be changed from pose mode, + * so only mirroring them in edit mode is not ideal. */ eboflip->dist = ebo->dist; eboflip->weight = ebo->weight; |