diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-04-05 18:58:30 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-04-05 18:58:30 +0400 |
commit | 1c3c4f3954c4eadfde3431d5b1d800f664b3d6e6 (patch) | |
tree | 4acd4d5bccb8032d008a229173d8f9d4b95e8b07 /source/blender/editors/uvedit/uvedit_unwrap_ops.c | |
parent | d070940192561dab0f95ac2e28ac5a775007ae0d (diff) |
code cleanup: use bool's for vgroup and editmode.
Diffstat (limited to 'source/blender/editors/uvedit/uvedit_unwrap_ops.c')
-rw-r--r-- | source/blender/editors/uvedit/uvedit_unwrap_ops.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/editors/uvedit/uvedit_unwrap_ops.c b/source/blender/editors/uvedit/uvedit_unwrap_ops.c index ba8b26c9083..14478db3846 100644 --- a/source/blender/editors/uvedit/uvedit_unwrap_ops.c +++ b/source/blender/editors/uvedit/uvedit_unwrap_ops.c @@ -1427,9 +1427,7 @@ static int reset_exec(bContext *C, wmOperator *UNUSED(op)) return OPERATOR_CANCELLED; } - if (!ED_mesh_uv_loop_reset(C, me)) { - return OPERATOR_CANCELLED; - } + ED_mesh_uv_loop_reset(C, me); DAG_id_tag_update(obedit->data, 0); WM_event_add_notifier(C, NC_GEOM | ND_DATA, obedit->data); |