Blender Git Commit Log

Git Commits -> Revision 8b31f6f

Revision 8b31f6f by Campbell Barton (master)
November 5, 2018, 04:31 (GMT)
Paint: add BKE_paint_ensure to initialize toolsettings

Each mode had its own logic for initializing paint structs,
move to a single function.

Also remove "BKE_brush_get_gpencil_paint", entering grease pencil
mode is responsible for ensuring the data is created.

Commit Details:

Full Hash: 8b31f6fb2169e7163767e382adbef13587305aca
Parent Commit: 8fcc04e
Lines Changed: +63, -46

12 Modified Paths:

/source/blender/blenkernel/BKE_brush.h (+0, -1) (Diff)
/source/blender/blenkernel/BKE_paint.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/brush.c (+2, -12) (Diff)
/source/blender/blenkernel/intern/paint.c (+49, -11) (Diff)
/source/blender/blenkernel/intern/scene.c (+0, -3) (Diff)
/source/blender/editors/gpencil/gpencil_data.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_edit.c (+2, -1) (Diff)
/source/blender/editors/gpencil/gpencil_old.c (+0, -8) (Diff)
/source/blender/editors/gpencil/gpencil_paint.c (+2, -2) (Diff)
/source/blender/editors/gpencil/gpencil_primitive.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_utils.c (+2, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_uv.c (+2, -5) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021