Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / uvedit / uvedit_ops.c
index 03a5f4dddc89f63316b1ca1a3e4a6074c221c20a..479b43d50f0f247ca8268a64ae49c02926bff88a 100644 (file)
@@ -1704,7 +1704,7 @@ static int uv_remove_doubles_exec(bContext *C, wmOperator *op)
                                float uv_min[2];
                                float uv_max[2];
 
-                               BLI_array_empty(loop_arr);
+                               BLI_array_clear(loop_arr);
                                BLI_array_append(loop_arr, vert_arr[uv_a_index].uv_loop);
 
                                uv_a = vert_arr[uv_a_index].uv_loop->uv;