diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2021-05-14 14:21:10 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2021-05-14 18:16:05 +0300 |
commit | c3e13d5a2b8e9ada467850b4629dc4f228a2b2b8 (patch) | |
tree | 44fe7f7515615020fbe0fb936f30131f5d9103a3 /source/blender/nodes | |
parent | d19d79c5a644914564902c685f32e94e1b6449bb (diff) |
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
Diffstat (limited to 'source/blender/nodes')
0 files changed, 0 insertions, 0 deletions