Blender Git Loki

Git Commits -> Revision c3e13d5

Revision c3e13d5 by Philipp Oeser (master)
May 14, 2021, 15:16 (GMT)
GPencil: fix separate points/strokes freezing with empty selection

Code would still create an object (without setting up materials), code
for removing unused material slots would then freeze.

Now return/cancel early in case of empty selection.

This came up in T88269 [which is still not fully fixed, transforming
curve edit points clear their GP_STROKE_SELECT flag which now results in
the early exit, should be looked at separately]

Maniphest Tasks: T88269

Differential Revision: https://developer.blender.org/D11252

Commit Details:

Full Hash: c3e13d5a2b8e9ada467850b4629dc4f228a2b2b8
Parent Commit: d19d79c
Lines Changed: +53, -2

3 Modified Paths:

/source/blender/editors/gpencil/gpencil_edit.c (+19, -2) (Diff)
/source/blender/editors/gpencil/gpencil_utils.c (+32, -0) (Diff)
/source/blender/editors/include/ED_gpencil.h (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021