style cleanup: '} else' and add this check to check_style_c.py

This commit is contained in:
Campbell Barton
2013-01-07 02:32:57 +00:00
parent eca21a2532
commit 85b59bd89e
3 changed files with 6 additions and 3 deletions

View File

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

View File

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

View File

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