Blender Git Loki
Git Commits -> Revision 6577618
Revision 6577618 by Antonio Vazquez (master) March 17, 2019, 18:47 (GMT) |
GPencil: Changes in Fill and new 3D Cursor View Plane This commit groups several options that were tested in grease pencil branch: - Changes to fill algorithms and improves, specially in small areas and stroke corners. New options has been added in order to define how the fill is working and internally there are optimizations in detect the small areas in the extremes. Kudos to @charlie for coding this fill improvements. - New 3D cursor view plane option. Now it's possible to lock the drawing plane to the 3D cursor and use the 3D cursor orientation. This allows more flexibility when you are drawing and reduce the need to create geometry to draw over surfaces. - Canvas Grid now can be locked to 3D cursor. - New option to reproject stroke using 3D cursor. - Small tweaks and fixes. Changes reviewed by @pepeland and @mendio |
Commit Details:
Full Hash: 6577618d5bb93792c805e0c22e4de1a015ee25d5
Parent Commit: 887d052
Lines Changed: +482, -133
21 Modified Paths:
/release/scripts/startup/bl_ui/properties_paint_common.py (+5, -14) (Diff)
/release/scripts/startup/bl_ui/space_topbar.py (+32, -0) (Diff)
/source/blender/blenkernel/intern/brush.c (+1, -0) (Diff)
/source/blender/draw/engines/gpencil/gpencil_draw_cache_impl.c (+2, -2) (Diff)
/source/blender/draw/engines/gpencil/gpencil_draw_utils.c (+2, -2) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.c (+32, -6) (Diff)
/source/blender/editors/gpencil/drawgpencil.c (+15, -9) (Diff)
/source/blender/editors/gpencil/gpencil_brush.c (+46, -10) (Diff)
/source/blender/editors/gpencil/gpencil_edit.c (+22, -6) (Diff)
/source/blender/editors/gpencil/gpencil_fill.c (+200, -57) (Diff)
/source/blender/editors/gpencil/gpencil_intern.h (+1, -0) (Diff)
/source/blender/editors/gpencil/gpencil_paint.c (+5, -3) (Diff)
/source/blender/editors/gpencil/gpencil_primitive.c (+6, -3) (Diff)
/source/blender/editors/gpencil/gpencil_utils.c (+61, -6) (Diff)
/source/blender/editors/include/ED_gpencil.h (+2, -0) (Diff)
/source/blender/gpu/shaders/gpu_shader_gpencil_stroke_geom.glsl (+26, -4) (Diff)
/source/blender/gpu/shaders/gpu_shader_gpencil_stroke_vert.glsl (+1, -1) (Diff)
/source/blender/makesdna/DNA_brush_types.h (+9, -7) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_brush.c (+12, -3) (Diff)
/source/blender/makesrna/intern/rna_sculpt_paint.c (+1, -0) (Diff)
/release/scripts/startup/bl_ui/space_topbar.py (+32, -0) (Diff)
/source/blender/blenkernel/intern/brush.c (+1, -0) (Diff)
/source/blender/draw/engines/gpencil/gpencil_draw_cache_impl.c (+2, -2) (Diff)
/source/blender/draw/engines/gpencil/gpencil_draw_utils.c (+2, -2) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.c (+32, -6) (Diff)
/source/blender/editors/gpencil/drawgpencil.c (+15, -9) (Diff)
/source/blender/editors/gpencil/gpencil_brush.c (+46, -10) (Diff)
/source/blender/editors/gpencil/gpencil_edit.c (+22, -6) (Diff)
/source/blender/editors/gpencil/gpencil_fill.c (+200, -57) (Diff)
/source/blender/editors/gpencil/gpencil_intern.h (+1, -0) (Diff)
/source/blender/editors/gpencil/gpencil_paint.c (+5, -3) (Diff)
/source/blender/editors/gpencil/gpencil_primitive.c (+6, -3) (Diff)
/source/blender/editors/gpencil/gpencil_utils.c (+61, -6) (Diff)
/source/blender/editors/include/ED_gpencil.h (+2, -0) (Diff)
/source/blender/gpu/shaders/gpu_shader_gpencil_stroke_geom.glsl (+26, -4) (Diff)
/source/blender/gpu/shaders/gpu_shader_gpencil_stroke_vert.glsl (+1, -1) (Diff)
/source/blender/makesdna/DNA_brush_types.h (+9, -7) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_brush.c (+12, -3) (Diff)
/source/blender/makesrna/intern/rna_sculpt_paint.c (+1, -0) (Diff)