From e6f8f189023d1472f77797789e0c2bea78716df6 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 22 Aug 2019 04:36:04 +1000 Subject: Cleanup: clang-format --- source/blender/editors/armature/armature_utils.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'source/blender/editors/armature/armature_utils.c') 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; -- cgit v1.2.3