Blender Git Loki
Git Commits -> Revision 10c1823
Revision 10c1823 by Clément Foucault (greasepencil-object, greasepencil-refactor, temp-gpencil-eval) December 7, 2019, 17:22 (GMT) |
GPencil: Refactor: Use iterator to populate draw passes Also remove a bug in gpencil_batch_cache_valid that prevented the use of gpencil_batches_ensure more than once per redraw. |
Commit Details:
Full Hash: 10c1823899ccd27c8c62a50c29d9db8bb86ab394
Parent Commit: 3d18884
Lines Changed: +115, -58
7 Modified Paths:
/source/blender/draw/engines/gpencil/gpencil_cache_utils.c (+6, -5) (Diff)
/source/blender/draw/engines/gpencil/gpencil_draw_cache_impl.c (+32, -27) (Diff)
/source/blender/draw/engines/gpencil/gpencil_draw_utils.c (+13, -8) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.c (+45, -14) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.h (+7, -3) (Diff)
/source/blender/draw/engines/gpencil/shaders/gpencil_vert.glsl (+6, -0) (Diff)
/source/blender/makesdna/DNA_gpencil_types.h (+6, -1) (Diff)
/source/blender/draw/engines/gpencil/gpencil_draw_cache_impl.c (+32, -27) (Diff)
/source/blender/draw/engines/gpencil/gpencil_draw_utils.c (+13, -8) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.c (+45, -14) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.h (+7, -3) (Diff)
/source/blender/draw/engines/gpencil/shaders/gpencil_vert.glsl (+6, -0) (Diff)
/source/blender/makesdna/DNA_gpencil_types.h (+6, -1) (Diff)