diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-10-29 07:04:46 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-10-29 07:04:46 +0400 |
commit | 96cd8b94016691f2a874d46c1e2aff84ac8d2f28 (patch) | |
tree | 1bd0a8c5780cdcf35a27571271f1afbcaff6731b /source/blender/editors/armature/armature_edit.c | |
parent | a7b44c82e5b90e83a588fabb22fda5ac41891bdf (diff) |
style cleanup
Diffstat (limited to 'source/blender/editors/armature/armature_edit.c')
-rw-r--r-- | source/blender/editors/armature/armature_edit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/armature/armature_edit.c b/source/blender/editors/armature/armature_edit.c index e4d244f9277..0443afa0954 100644 --- a/source/blender/editors/armature/armature_edit.c +++ b/source/blender/editors/armature/armature_edit.c @@ -1074,13 +1074,13 @@ static int armature_split_exec(bContext *C, wmOperator *UNUSED(op)) bArmature *arm = (bArmature *)ob->data; EditBone *bone; - for (bone = arm->edbo->first; bone; bone = bone->next){ - if (bone->parent && (bone->flag & BONE_SELECTED) != (bone->parent->flag & BONE_SELECTED)){ + for (bone = arm->edbo->first; bone; bone = bone->next) { + if (bone->parent && (bone->flag & BONE_SELECTED) != (bone->parent->flag & BONE_SELECTED)) { bone->parent = NULL; bone->flag &= ~BONE_CONNECTED; } } - for (bone = arm->edbo->first; bone; bone = bone->next){ + for (bone = arm->edbo->first; bone; bone = bone->next) { ED_armature_ebone_select_set(bone, (bone->flag & BONE_SELECTED) != 0); } |