diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-01-07 06:32:57 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-01-07 06:32:57 +0400 |
commit | 85b59bd89e3f220f8921d7a227f17534bb428145 (patch) | |
tree | 15222bd62f8637cf84d4852a0885f44b60bd3f8e | |
parent | eca21a2532f56872c5b7b8de3ba271420ddfb22e (diff) |
style cleanup: '} else' and add this check to check_style_c.py
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt.c | 3 | ||||
-rw-r--r-- | source/blender/editors/space_view3d/view3d_draw.c | 3 | ||||
-rw-r--r-- | source/blender/editors/uvedit/uvedit_smart_stitch.c | 3 |
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); |