diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2021-09-17 12:01:01 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2021-09-17 12:01:01 +0300 |
commit | 1cd20b0026838c3fb69c0b273db8513f89f31f22 (patch) | |
tree | afcd52b50fdc56ea2439ffa25d4fc7886e40617c /source/blender/draw/engines | |
parent | 9dee0a10c81d9f4ce8d4fc85ed8722d899f34dde (diff) |
Fix T91448: GPencil Fill simplify not working in render
The simplify was hardcode to be disabled in render.
Diffstat (limited to 'source/blender/draw/engines')
-rw-r--r-- | source/blender/draw/engines/gpencil/gpencil_engine.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/draw/engines/gpencil/gpencil_engine.c b/source/blender/draw/engines/gpencil/gpencil_engine.c index d3a0c40fae5..1078cebdbff 100644 --- a/source/blender/draw/engines/gpencil/gpencil_engine.c +++ b/source/blender/draw/engines/gpencil/gpencil_engine.c @@ -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; } |