Blender Git Commit Log
Git Commits -> Revision 1cad0a6
Revision 1cad0a6 by Antonio Vazquez (master) May 15, 2020, 14:50 (GMT) |
GPencil: Fix unreported missing Sculpt/Vertex/Weight paint brushes This error was introduced wit the change in commit https://developer.blender.org/rB6a850f3cc840 As the brushes were not created, all modes except Edit were broken. Now, the brushes and palette are not created when load the file in versioning code, but when the mode is enabled. Also, if the brush already exist, the parameters are not reset as it was done in the versioning code in order to keep user settings. The same logic is used for the default palette. |
Commit Details:
Full Hash: 1cad0a627e882cf0c5a98d1b482327e59f65a87a
Parent Commit: a269761
Lines Changed: +189, -83
11 Modified Paths:
/source/blender/blenkernel/BKE_brush.h (+12, -4) (Diff)
/source/blender/blenkernel/intern/brush.c (+137, -69) (Diff)
/source/blender/blenkernel/intern/gpencil.c (+11, -0) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+9, -0) (Diff)
/source/blender/blenloader/intern/versioning_defaults.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_data.c (+4, -4) (Diff)
/source/blender/editors/gpencil/gpencil_edit.c (+11, -1) (Diff)
/source/blender/editors/gpencil/gpencil_merge.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_paint.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_primitive.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_utils.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/brush.c (+137, -69) (Diff)
/source/blender/blenkernel/intern/gpencil.c (+11, -0) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+9, -0) (Diff)
/source/blender/blenloader/intern/versioning_defaults.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_data.c (+4, -4) (Diff)
/source/blender/editors/gpencil/gpencil_edit.c (+11, -1) (Diff)
/source/blender/editors/gpencil/gpencil_merge.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_paint.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_primitive.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_utils.c (+1, -1) (Diff)