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-01-07 06:32:57 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-01-07 06:32:57 +0400
commit85b59bd89e3f220f8921d7a227f17534bb428145 (patch)
tree15222bd62f8637cf84d4852a0885f44b60bd3f8e /source/blender
parenteca21a2532f56872c5b7b8de3ba271420ddfb22e (diff)
style cleanup: '} else' and add this check to check_style_c.py
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/editors/sculpt_paint/sculpt.c3
-rw-r--r--source/blender/editors/space_view3d/view3d_draw.c3
-rw-r--r--source/blender/editors/uvedit/uvedit_smart_stitch.c3
3 files changed, 6 insertions, 3 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c
index a9ceebc270a..2dc4176dde3 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -4590,7 +4590,8 @@ void sculpt_dynamic_topology_disable(bContext *C,
CD_DUPLICATE, unode->bm_enter_totpoly);
mesh_update_customdata_pointers(me, FALSE);
- } else {
+ }
+ else {
sculptsession_bm_to_me(ob, TRUE);
}
diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c
index b4b35c6b3ac..d66236d1c51 100644
--- a/source/blender/editors/space_view3d/view3d_draw.c
+++ b/source/blender/editors/space_view3d/view3d_draw.c
@@ -3138,7 +3138,8 @@ static void view3d_main_area_draw_objects(const bContext *C, ARegion *ar, const
glMatrixMode(GL_MODELVIEW);
glPopMatrix();
- } else {
+ }
+ else {
UI_ThemeClearColor(TH_BACK);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
}
diff --git a/source/blender/editors/uvedit/uvedit_smart_stitch.c b/source/blender/editors/uvedit/uvedit_smart_stitch.c
index 8c3eaa1192f..ba4ffefddca 100644
--- a/source/blender/editors/uvedit/uvedit_smart_stitch.c
+++ b/source/blender/editors/uvedit/uvedit_smart_stitch.c
@@ -1273,7 +1273,8 @@ static int stitch_process_data(StitchState *state, Scene *scene, int final)
UvElement *element = state->selection_stack[i];
stitch_propagate_uv_final_position (element, i, preview_position, final_position, state, final, scene);
- } else {
+ }
+ else {
UvEdge *edge = state->selection_stack[i];
stitch_propagate_uv_final_position (state->uvs[edge->uv1], edge->uv1, preview_position, final_position, state, final, scene);