Blender Git Loki
Git Commits -> Revision f4bbc84
December 19, 2020, 04:00 (GMT) |
GPencil: Remove ID from operators to fix T82597 Instead to use the ID of the object, now the parameter is an Enum with Selected object or New. If use selected mode, the first grease pencil object selected is used. If none of the selected objects is a grease pencil object, a new object is created. Small cleanup changes to the original patch. Differential Revision: https://developer.blender.org/D9529 |
Commit Details:
Full Hash: f4bbc841971e731e084d7c9fbf73c5128aee7394
Parent Commit: cdd182d
Committed By: YimingWu
Lines Changed: +70, -30
5 Modified Paths:
/source/blender/blenkernel/BKE_layer.h (+4, -0) (Diff)
/source/blender/blenkernel/intern/layer_utils.c (+15, -0) (Diff)
/source/blender/editors/gpencil/gpencil_mesh.c (+24, -13) (Diff)
/source/blender/editors/gpencil/gpencil_trace_ops.c (+21, -17) (Diff)
/source/blender/editors/include/ED_gpencil.h (+6, -0) (Diff)
/source/blender/blenkernel/intern/layer_utils.c (+15, -0) (Diff)
/source/blender/editors/gpencil/gpencil_mesh.c (+24, -13) (Diff)
/source/blender/editors/gpencil/gpencil_trace_ops.c (+21, -17) (Diff)
/source/blender/editors/include/ED_gpencil.h (+6, -0) (Diff)