diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2014-11-01 18:34:35 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2014-11-01 18:36:11 +0300 |
commit | 9b8be0bc0c497d0682b439e3d10bea1f83a3d115 (patch) | |
tree | bcdf81d899e17ac6145208a3e24cbc44cce571cb /source/blender/editors/uvedit | |
parent | cbf2fab9ea51ff89845a527cf14a360faabbdd38 (diff) |
Cleanup/fix from latest coverity report.
Mostly harmless things, though the 'multires' error was a real bug.
Diffstat (limited to 'source/blender/editors/uvedit')
-rw-r--r-- | source/blender/editors/uvedit/uvedit_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/uvedit/uvedit_ops.c b/source/blender/editors/uvedit/uvedit_ops.c index 35a9bb9955b..bcddd6b4156 100644 --- a/source/blender/editors/uvedit/uvedit_ops.c +++ b/source/blender/editors/uvedit/uvedit_ops.c @@ -1771,7 +1771,7 @@ static int uv_remove_doubles_exec(bContext *C, wmOperator *op) if ((vert_arr[uv_b_index].weld == false) && (len_manhattan_v2v2(uv_a, uv_b) < threshold)) { - minmax_v2v2_v2(uv_max, uv_min, uv_b); + minmax_v2v2_v2(uv_min, uv_max, uv_b); BLI_array_append(loop_arr, vert_arr[uv_b_index].uv_loop); vert_arr[uv_b_index].weld = true; } |