Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonioya <blendergit@gmail.com>2018-12-28 10:48:37 +0300
committerAntonioya <blendergit@gmail.com>2018-12-28 10:48:37 +0300
commitfdc726eb61d15a51d8deddcb6b7b79859ea9950e (patch)
treeca7153f40ba004fc0bc361673666507e8bae056c /source/blender/gpencil_modifiers
parent0661bcba3210be9714b1943935ba4cb7e6e04eec (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/gpencil_modifiers')
-rw-r--r--source/blender/gpencil_modifiers/intern/MOD_gpencilbuild.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencilbuild.c b/source/blender/gpencil_modifiers/intern/MOD_gpencilbuild.c
index ba814c8538a..dbf1a67603f 100644
--- a/source/blender/gpencil_modifiers/intern/MOD_gpencilbuild.c
+++ b/source/blender/gpencil_modifiers/intern/MOD_gpencilbuild.c
@@ -178,7 +178,7 @@ static void reduce_stroke_points(bGPDstroke *gps, const int num_points, const eB
gps->totpoints = num_points;
/* mark stroke as needing to have its geometry caches rebuilt */
- gps->flag |= GP_STROKE_RECALC_CACHES;
+ gps->flag |= GP_STROKE_RECALC_GEOMETRY;
gps->tot_triangles = 0;
MEM_SAFE_FREE(gps->triangles);
}