diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-06-22 09:02:27 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-06-22 09:02:27 +0400 |
commit | 7bc2f54867db5c56fc6934d09355836a17669cf3 (patch) | |
tree | 2d9ea7142e948a7022ef8f86cef83401b57b168f /source/blender | |
parent | 27624320526540094b6f635215e36de8092ec94f (diff) |
Code cleanup: style
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/mesh/editmesh_rip_edge.c | 2 | ||||
-rw-r--r-- | source/blender/editors/object/object_bake_api.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/editors/mesh/editmesh_rip_edge.c b/source/blender/editors/mesh/editmesh_rip_edge.c index 1f897f2d376..9ffdd715616 100644 --- a/source/blender/editors/mesh/editmesh_rip_edge.c +++ b/source/blender/editors/mesh/editmesh_rip_edge.c @@ -162,7 +162,7 @@ static int edbm_rip_edge_invoke(bContext *C, wmOperator *UNUSED(op), const wmEve /* pass */ } /* selection not 0 or 1, do nothing */ - else { + else { goto found_edge; } #endif diff --git a/source/blender/editors/object/object_bake_api.c b/source/blender/editors/object/object_bake_api.c index 78c037dc629..b45ac124b43 100644 --- a/source/blender/editors/object/object_bake_api.c +++ b/source/blender/editors/object/object_bake_api.c @@ -756,7 +756,8 @@ static int bake( /* populate the pixel arrays with the corresponding face data for each high poly object */ if (!RE_bake_pixels_populate_from_objects( me_low, pixel_array_low, highpoly, tot_highpoly, num_pixels, ob_cage != NULL, - cage_extrusion, ob_low->obmat, (ob_cage ? ob_cage->obmat : ob_low->obmat), me_cage)) { + cage_extrusion, ob_low->obmat, (ob_cage ? ob_cage->obmat : ob_low->obmat), me_cage)) + { BKE_report(reports, RPT_ERROR, "Error handling selected objects"); goto cage_cleanup; } |