[Bf-blender-cvs] [8235d4dea67] blender-v2.93-release: Fix T91448: GPencil Fill simplify not working in render
Antonio Vazquez
noreply at git.blender.org
Wed Sep 22 08:50:26 CEST 2021
Commit: 8235d4dea677b86804bd81bfc44a69b08ab4013c
Author: Antonio Vazquez
Date: Fri Sep 17 11:01:01 2021 +0200
Branches: blender-v2.93-release
https://developer.blender.org/rB8235d4dea677b86804bd81bfc44a69b08ab4013c
Fix T91448: GPencil Fill simplify not working in render
The simplify was hardcode to be disabled in render.
===================================================================
M source/blender/draw/engines/gpencil/gpencil_engine.c
===================================================================
diff --git a/source/blender/draw/engines/gpencil/gpencil_engine.c b/source/blender/draw/engines/gpencil/gpencil_engine.c
index 32884eb9e3f..ebaf97b42bf 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;
}
More information about the Bf-blender-cvs
mailing list