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-09-19 13:15:05 +0300
committerAntonioya <blendergit@gmail.com>2018-09-19 13:15:05 +0300
commit25f25a6f305d3a6ede86310defb6b5cdbf09debc (patch)
tree68e24364819190faffdf35d5625ee2c90904db9e /source/blender/draw
parentf9f34fb9ab0f45d0f0d2d2bc07d8350f2e491d3c (diff)
GP: Remove unneeded flag
Diffstat (limited to 'source/blender/draw')
-rw-r--r--source/blender/draw/engines/gpencil/gpencil_engine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/gpencil/gpencil_engine.c b/source/blender/draw/engines/gpencil/gpencil_engine.c
index b7370ad68f5..dcdbc363ae9 100644
--- a/source/blender/draw/engines/gpencil/gpencil_engine.c
+++ b/source/blender/draw/engines/gpencil/gpencil_engine.c
@@ -570,7 +570,7 @@ void GPENCIL_cache_populate(void *vedata, Object *ob)
/* if multiwindow and onion, set as dirty */
if ((stl->storage->is_multiwindow) &&
- (gpd->flag & (GP_DATA_SHOW_ONIONSKINS | GP_ONION_GHOST_ALWAYS)))
+ (gpd->flag & GP_DATA_SHOW_ONIONSKINS)
{
gpd->flag |= GP_DATA_CACHE_IS_DIRTY;
}