GP: Show all objects sharing data in edit modes

Only need hide particle objects
This commit is contained in:
Antonioya 2018-11-07 16:13:21 +01:00
parent 9a38526be0
commit c018cea680

@ -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;
}