Fix T91448: GPencil Fill simplify not working in render

The simplify was hardcode to be disabled in render.
This commit is contained in:
Antonio Vazquez 2021-09-17 11:01:01 +02:00 committed by Jeroen Bakker
parent cbf18b6586
commit 8235d4dea6
Notes: blender-bot 2023-02-14 08:07:50 +01:00
Referenced by issue #88449: Blender LTS: Maintenance Task 2.93
Referenced by issue #88449, Blender LTS: Maintenance Task 2.93
Referenced by issue #91448, Workbench doesn't respect GP simplify options when rendering
1 changed files with 3 additions and 2 deletions

View File

@ -240,8 +240,9 @@ void GPENCIL_cache_init(void *ved)
}
else {
pd->do_onion = true;
pd->simplify_fill = false;
pd->simplify_fx = false;
Scene *scene = draw_ctx->scene;
pd->simplify_fill = GPENCIL_SIMPLIFY_FILL(scene, false);
pd->simplify_fx = GPENCIL_SIMPLIFY_FX(scene, false);
pd->fade_layer_opacity = -1.0f;
pd->playing = false;
}