Blender Git Loki

Git Commits -> Revision 1b928c2

Revision 1b928c2 by Campbell Barton (master)
November 5, 2018, 05:18 (GMT)
Paint: add tool offset & mode to runtime data

It was getting too impractical to call BKE_paint_brush_tool_info
which needed to lookup the scene pointers.

Now each store tool offset and brush mode in 'Paint.runtime'

Commit Details:

Full Hash: 1b928c2d9a4b4b4a57046176912e0ae6d77f9a1d
Parent Commit: 56917bc
Lines Changed: +87, -93

10 Modified Paths:

/source/blender/blenkernel/BKE_paint.h (+5, -6) (Diff)
/source/blender/blenkernel/intern/paint.c (+28, -36) (Diff)
/source/blender/blenkernel/intern/paint_toolslots.c (+20, -23) (Diff)
/source/blender/blenloader/intern/readfile.c (+13, -9) (Diff)
/source/blender/editors/gpencil/gpencil_edit.c (+1, -2) (Diff)
/source/blender/editors/sculpt_paint/paint_image.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_vertex.c (+2, -2) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+9, -0) (Diff)
/source/blender/makesrna/intern/rna_sculpt_paint.c (+7, -13) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021