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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-10-29 07:04:46 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-10-29 07:04:46 +0400
commit96cd8b94016691f2a874d46c1e2aff84ac8d2f28 (patch)
tree1bd0a8c5780cdcf35a27571271f1afbcaff6731b
parenta7b44c82e5b90e83a588fabb22fda5ac41891bdf (diff)
style cleanup
-rw-r--r--source/blender/editors/armature/armature_edit.c6
-rw-r--r--source/blender/editors/metaball/mball_edit.c1
-rw-r--r--source/blender/editors/space_clip/tracking_ops.c2
3 files changed, 5 insertions, 4 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);
}
diff --git a/source/blender/editors/metaball/mball_edit.c b/source/blender/editors/metaball/mball_edit.c
index 7130166ba0e..deae9f17992 100644
--- a/source/blender/editors/metaball/mball_edit.c
+++ b/source/blender/editors/metaball/mball_edit.c
@@ -333,6 +333,7 @@ static int mball_select_similar_exec(bContext *C, wmOperator *op)
break;
default:
BLI_assert(0);
+ break;
}
if (change) {
diff --git a/source/blender/editors/space_clip/tracking_ops.c b/source/blender/editors/space_clip/tracking_ops.c
index 53eaa2aaf72..ebb06693995 100644
--- a/source/blender/editors/space_clip/tracking_ops.c
+++ b/source/blender/editors/space_clip/tracking_ops.c
@@ -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;
}