Blender Git Loki
Git Commits -> Revision bbd71c8
Revision bbd71c8 by Antonio Vazquez (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) January 20, 2018, 15:51 (GMT) |
Fix modifier enable/disable on render mode The old test to verify if the modifier was enabled in render mode used G_RENDER_OGL flag, but for new draw manager, there is a function for that: DRW_state_is_image_render() Also fixed the problem the cache was not set as dirty before render, so the flags were not updated to draw the correct image. |
Commit Details:
Full Hash: bbd71c879e298edc2c13327235a6f5b4532663cb
Parent Commit: b0c0806
Lines Changed: +32, -25
6 Modified Paths:
/source/blender/blenkernel/BKE_gpencil.h (+2, -2) (Diff)
/source/blender/blenkernel/intern/gpencil_modifier.c (+6, -6) (Diff)
/source/blender/draw/engines/gpencil/gpencil_draw_cache_impl.c (+4, -4) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.c (+6, -0) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.h (+1, -0) (Diff)
/source/blender/draw/engines/gpencil/gpencil_vfx.c (+13, -13) (Diff)
/source/blender/blenkernel/intern/gpencil_modifier.c (+6, -6) (Diff)
/source/blender/draw/engines/gpencil/gpencil_draw_cache_impl.c (+4, -4) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.c (+6, -0) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.h (+1, -0) (Diff)
/source/blender/draw/engines/gpencil/gpencil_vfx.c (+13, -13) (Diff)