Blender Git Loki
Git Commits -> Revision d5d3dc4
Revision d5d3dc4 by Antonio Vazquez (master) August 30, 2019, 12:26 (GMT) |
GPencil: Use default material when slot material is empty When a material slot is empty, the default material is used. The default color used is Gray to get a good contrast in dense scenes with dark and white background. Reviewers: brecht, dfelinto, mendio, pepeland Differential Revision: https://developer.blender.org/D5625 |
Commit Details:
Full Hash: d5d3dc418912863b172ef9f79f9991bb9d46bea8
Parent Commit: 4608220
Lines Changed: +129, -49
15 Modified Paths:
/release/scripts/startup/bl_ui/properties_grease_pencil_common.py (+2, -1) (Diff)
/source/blender/blenkernel/BKE_gpencil.h (+2, -3) (Diff)
/source/blender/blenkernel/BKE_material.h (+4, -0) (Diff)
/source/blender/blenkernel/intern/gpencil.c (+8, -11) (Diff)
/source/blender/blenkernel/intern/material.c (+30, -5) (Diff)
/source/blender/editors/gpencil/gpencil_add_monkey.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_add_stroke.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_data.c (+22, -19) (Diff)
/source/blender/editors/gpencil/gpencil_edit.c (+9, -4) (Diff)
/source/blender/editors/gpencil/gpencil_fill.c (+30, -1) (Diff)
/source/blender/editors/gpencil/gpencil_merge.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_paint.c (+8, -0) (Diff)
/source/blender/editors/gpencil/gpencil_primitive.c (+9, -1) (Diff)
/source/blender/editors/gpencil/gpencil_utils.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+1, -0) (Diff)
/source/blender/blenkernel/BKE_gpencil.h (+2, -3) (Diff)
/source/blender/blenkernel/BKE_material.h (+4, -0) (Diff)
/source/blender/blenkernel/intern/gpencil.c (+8, -11) (Diff)
/source/blender/blenkernel/intern/material.c (+30, -5) (Diff)
/source/blender/editors/gpencil/gpencil_add_monkey.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_add_stroke.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_data.c (+22, -19) (Diff)
/source/blender/editors/gpencil/gpencil_edit.c (+9, -4) (Diff)
/source/blender/editors/gpencil/gpencil_fill.c (+30, -1) (Diff)
/source/blender/editors/gpencil/gpencil_merge.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_paint.c (+8, -0) (Diff)
/source/blender/editors/gpencil/gpencil_primitive.c (+9, -1) (Diff)
/source/blender/editors/gpencil/gpencil_utils.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+1, -0) (Diff)