diff options
-rw-r--r-- | source/blender/draw/engines/gpencil/gpencil_engine.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/engines/gpencil/gpencil_engine.c b/source/blender/draw/engines/gpencil/gpencil_engine.c index 9308bdbd084..1ec060e12f8 100644 --- a/source/blender/draw/engines/gpencil/gpencil_engine.c +++ b/source/blender/draw/engines/gpencil/gpencil_engine.c @@ -563,8 +563,8 @@ void GPENCIL_cache_populate(void *vedata, Object *ob) stl->storage->reset_cache = false; } - /* is edit mode only current object, not instances */ - if ((draw_ctx->obact != ob) && GPENCIL_ANY_EDIT_MODE(gpd)) { + /* is edit mode only current object, not particle instances */ + if ((ob->base_flag & BASE_FROMDUPLI) && GPENCIL_ANY_EDIT_MODE(gpd)) { return; } |