style cleanup: '} else' and add this check to check_style_c.py
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user