minor refactor for rect functions. more consistent naming.
[blender.git] / source / blender / editors / gpencil / drawgpencil.c
index bc912fc8c76265ea4fee8578beafbac6fd0ae1e8..7906d632f86c4fb2e78d5f9888f3392f7c0f46b9 100644 (file)
@@ -769,7 +769,7 @@ void draw_gpencil_view3d(Scene *scene, View3D *v3d, ARegion *ar, short only3d)
        if ((rv3d->persp == RV3D_CAMOB) && !(G.f & G_RENDER_OGL)) {
                rctf rectf;
                ED_view3d_calc_camera_border(scene, ar, v3d, rv3d, &rectf, TRUE); /* no shift */
-               BLI_copy_rcti_rctf(&rect, &rectf);
+               BLI_rcti_rctf_copy(&rect, &rectf);
        }
        else {
                rect.xmin = 0;