diff options
author | Antonioya <blendergit@gmail.com> | 2018-12-28 10:48:37 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-12-28 10:48:37 +0300 |
commit | fdc726eb61d15a51d8deddcb6b7b79859ea9950e (patch) | |
tree | ca7153f40ba004fc0bc361673666507e8bae056c /source/blender/editors/gpencil/gpencil_utils.c | |
parent | 0661bcba3210be9714b1943935ba4cb7e6e04eec (diff) |
GP: Rename GP_STROKE_RECALC_CACHE to GP_STROKE_RECALC_GEOMETRY
The GP_STROKE_RECALC_CACHE identifier was changed to GP_STROKE_RECALC_GEOMETRY because the previous name was confusing and could be confused with the recalculation of the Draw Manager cache.
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_utils.c')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/gpencil_utils.c b/source/blender/editors/gpencil/gpencil_utils.c index ee0d80b7c26..4d6a7b547c6 100644 --- a/source/blender/editors/gpencil/gpencil_utils.c +++ b/source/blender/editors/gpencil/gpencil_utils.c @@ -997,7 +997,7 @@ void gp_subdivide_stroke(bGPDstroke *gps, const int subdivide) if (gps->dvert != NULL) { gps->dvert = MEM_recallocN(gps->dvert, sizeof(*gps->dvert) * gps->totpoints); } - gps->flag |= GP_STROKE_RECALC_CACHES; + gps->flag |= GP_STROKE_RECALC_GEOMETRY; /* move points from last to first to new place */ i2 = gps->totpoints - 1; |