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/makesrna/intern/rna_gpencil.c
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/makesrna/intern/rna_gpencil.c')
-rw-r--r--source/blender/makesrna/intern/rna_gpencil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_gpencil.c b/source/blender/makesrna/intern/rna_gpencil.c
index 6cec826dccb..92d29b4c2c5 100644
--- a/source/blender/makesrna/intern/rna_gpencil.c
+++ b/source/blender/makesrna/intern/rna_gpencil.c
@@ -528,7 +528,7 @@ static void rna_GPencil_stroke_point_add(ID *id, bGPDstroke *stroke, int count,
stroke->totpoints += count;
- stroke->flag |= GP_STROKE_RECALC_CACHES;
+ stroke->flag |= GP_STROKE_RECALC_GEOMETRY;
gpd->flag |= GP_DATA_PYTHON_UPDATED;
DEG_id_tag_update(&gpd->id, ID_RECALC_TRANSFORM | ID_RECALC_GEOMETRY | ID_RECALC_COPY_ON_WRITE);
@@ -581,7 +581,7 @@ static void rna_GPencil_stroke_point_pop(ID *id, bGPDstroke *stroke, ReportList
MEM_freeN(pt_dvert);
}
- stroke->flag |= GP_STROKE_RECALC_CACHES;
+ stroke->flag |= GP_STROKE_RECALC_GEOMETRY;
gpd->flag |= GP_DATA_PYTHON_UPDATED;
DEG_id_tag_update(&gpd->id, ID_RECALC_TRANSFORM | ID_RECALC_GEOMETRY | ID_RECALC_COPY_ON_WRITE);