style cleanup

This commit is contained in:
Campbell Barton 2013-10-29 03:04:46 +00:00
parent a7b44c82e5
commit 96cd8b9401
3 changed files with 5 additions and 4 deletions

@ -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);
}

@ -333,6 +333,7 @@ static int mball_select_similar_exec(bContext *C, wmOperator *op)
break;
default:
BLI_assert(0);
break;
}
if (change) {

@ -1341,7 +1341,7 @@ static int track_markers_exec(bContext *C, wmOperator *op)
if (clip == NULL) {
return OPERATOR_CANCELLED;
}
framenr = BKE_movieclip_remap_scene_to_clip_frame(clip, CFRA);
framenr = BKE_movieclip_remap_scene_to_clip_frame(clip, CFRA);
fake_user.framenr = framenr;
user = &fake_user;
}