Blender Git Loki
Git Commits -> Revision 23aa0fd
Revision 23aa0fd by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) February 2, 2018, 06:43 (GMT) |
Cleanup: De-duplicate dynamic enum function used for setting GP brush icons It turned out that there were slight differences between these two versions (namely, where they searched for the list of active brushes), but it's not too much of a stretch to use the same code for this with a few minor tweaks, as per this commit. |
Commit Details:
Full Hash: 23aa0fdc3621a2ee486320ae86ba11979c5fb258
Parent Commit: ea55e31
Lines Changed: +54, -83
6 Modified Paths:
/source/blender/editors/gpencil/gpencil_data.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_intern.h (+0, -5) (Diff)
/source/blender/editors/gpencil/gpencil_utils.c (+0, -66) (Diff)
/source/blender/editors/include/ED_gpencil.h (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+47, -8) (Diff)
/source/blender/makesrna/RNA_enum_types.h (+3, -0) (Diff)
/source/blender/editors/gpencil/gpencil_intern.h (+0, -5) (Diff)
/source/blender/editors/gpencil/gpencil_utils.c (+0, -66) (Diff)
/source/blender/editors/include/ED_gpencil.h (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+47, -8) (Diff)
/source/blender/makesrna/RNA_enum_types.h (+3, -0) (Diff)