Blender Git Commit Log

Git Commits -> Revision 64ab084

Revision 64ab084 by Campbell Barton (master)
November 16, 2020, 05:48 (GMT)
Grease Pencil: adjust behavior of target object detection

First detect the other selected object, then check it can be written to.

Otherwise the target object could be the first one found when
looping over objects which is random from the user perspective.

Move the type check to the operator, which also checks the data isn't
library data which was being ignored.

Commit Details:

Full Hash: 64ab084ca5fa171d39e799f143cff1d661267cf3
Parent Commit: a3a6d6a
Lines Changed: +48, -16

4 Modified Paths:

/source/blender/blenkernel/BKE_layer.h (+2, -3) (Diff)
/source/blender/blenkernel/intern/layer_utils.c (+18, -5) (Diff)
/source/blender/editors/gpencil/gpencil_mesh.c (+13, -3) (Diff)
/source/blender/editors/gpencil/gpencil_trace_ops.c (+15, -5) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021