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-08-21 23:05:54 +0300
committerAntonioya <blendergit@gmail.com>2018-08-21 23:05:54 +0300
commit95aa672e2f3437275703ee5860a591b8557f6224 (patch)
tree0bc81f98fd7d80e15d30b3ca7c9b55e9f0ea2d13 /source/blender/blenkernel/intern/gpencil_modifier.c
parent7fda7fb750a9436f4c9a69375113b79502ea6dc1 (diff)
GP: Reduce list of modifiers affected by recalc
Diffstat (limited to 'source/blender/blenkernel/intern/gpencil_modifier.c')
-rw-r--r--source/blender/blenkernel/intern/gpencil_modifier.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/gpencil_modifier.c b/source/blender/blenkernel/intern/gpencil_modifier.c
index 512f6f73927..6f6051dfa7c 100644
--- a/source/blender/blenkernel/intern/gpencil_modifier.c
+++ b/source/blender/blenkernel/intern/gpencil_modifier.c
@@ -409,9 +409,7 @@ void BKE_gpencil_stroke_modifiers(Depsgraph *depsgraph, Object *ob, bGPDlayer *g
if (ELEM(md->type,
eGpencilModifierType_Hook,
eGpencilModifierType_Lattice,
- eGpencilModifierType_Noise,
- eGpencilModifierType_Offset,
- eGpencilModifierType_Smooth)) {
+ eGpencilModifierType_Offset)) {
gps->flag |= GP_STROKE_RECALC_CACHES;
}