Blender Git Commit Log

Git Commits -> Revision e9b955b

Revision e9b955b by Antonio Vazquez (master)
November 13, 2020, 14:21 (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: e9b955b99cd3cde127b52bff8c4559e2d57eeeb0
Parent Commit: 50ccf34
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)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021