minor refactor for rect functions. more consistent naming.
[blender.git] / source / blender / editors / sculpt_paint / sculpt.c
index bfac2922c2b0b354c2f21141de168ba17a5e2698..35d508c5a1faec88304dc86ed67d44da4ce6be5f 100644 (file)
@@ -369,7 +369,7 @@ static int sculpt_get_redraw_rect(ARegion *ar, RegionView3D *rv3d,
        ss = ob->sculpt;
        if (ss->cache) {
                if (!BLI_rcti_is_empty(&ss->cache->previous_r))
-                       BLI_union_rcti(rect, &ss->cache->previous_r);
+                       BLI_rcti_union(rect, &ss->cache->previous_r);
        }
 
        return 1;