Blender Git Loki
Git Commits -> Revision 7f29fc7
Revision 7f29fc7 by Antonio Vazquez (master) July 30, 2019, 15:11 (GMT) |
Fix T65691: GPencil Drawing long strokes turn invisible There was a fixed limit to the number of points available in a buffer stroke. Now, the array is expanded as needed using a predefined number of points for each expansion, instead to add one by one. This is done to reduce the number of times the memory allocation is required. As part of the fix, some variables have been renamed to reflect better their use. |
Commit Details:
Full Hash: 7f29fc7415a49d5688efbe10fa0a81b174d49435
Parent Commit: f69e57a
Lines Changed: +147, -143
14 Modified Paths:
/source/blender/blenloader/intern/readfile.c (+1, -0) (Diff)
/source/blender/draw/engines/gpencil/gpencil_draw_cache_impl.c (+3, -3) (Diff)
/source/blender/draw/engines/gpencil/gpencil_draw_utils.c (+3, -3) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.c (+1, -1) (Diff)
/source/blender/editors/gpencil/annotate_draw.c (+1, -1) (Diff)
/source/blender/editors/gpencil/annotate_paint.c (+30, -47) (Diff)
/source/blender/editors/gpencil/gpencil_edit.c (+1, -4) (Diff)
/source/blender/editors/gpencil/gpencil_fill.c (+9, -9) (Diff)
/source/blender/editors/gpencil/gpencil_intern.h (+2, -2) (Diff)
/source/blender/editors/gpencil/gpencil_paint.c (+38, -54) (Diff)
/source/blender/editors/gpencil/gpencil_primitive.c (+11, -14) (Diff)
/source/blender/editors/gpencil/gpencil_utils.c (+35, -1) (Diff)
/source/blender/editors/include/ED_gpencil.h (+6, -0) (Diff)
/source/blender/makesdna/DNA_gpencil_types.h (+6, -4) (Diff)
/source/blender/draw/engines/gpencil/gpencil_draw_cache_impl.c (+3, -3) (Diff)
/source/blender/draw/engines/gpencil/gpencil_draw_utils.c (+3, -3) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.c (+1, -1) (Diff)
/source/blender/editors/gpencil/annotate_draw.c (+1, -1) (Diff)
/source/blender/editors/gpencil/annotate_paint.c (+30, -47) (Diff)
/source/blender/editors/gpencil/gpencil_edit.c (+1, -4) (Diff)
/source/blender/editors/gpencil/gpencil_fill.c (+9, -9) (Diff)
/source/blender/editors/gpencil/gpencil_intern.h (+2, -2) (Diff)
/source/blender/editors/gpencil/gpencil_paint.c (+38, -54) (Diff)
/source/blender/editors/gpencil/gpencil_primitive.c (+11, -14) (Diff)
/source/blender/editors/gpencil/gpencil_utils.c (+35, -1) (Diff)
/source/blender/editors/include/ED_gpencil.h (+6, -0) (Diff)
/source/blender/makesdna/DNA_gpencil_types.h (+6, -4) (Diff)