diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2019-12-18 18:15:48 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2019-12-19 15:41:02 +0300 |
commit | 701338d31c7718ae64637c3fe24ddd03a977ae0c (patch) | |
tree | b652feb191145cb6cd10975a00d3db5faa1730d0 /source/blender/editors/uvedit | |
parent | 076cedc777bd564a44ea174d2068c7e5ac2ba02b (diff) |
Fix T63407: 'Select linked' operator in UV editor is broken in when multi-object-editing contains an empty mesh
Since BM_uv_vert_map_create would return NULL for an empty mesh, code
would then return from uv_select_linked_multi [where it should just skip
and continue instead...]
Maniphest Tasks: T63407
Differential Revision: https://developer.blender.org/D6441
Diffstat (limited to 'source/blender/editors/uvedit')
-rw-r--r-- | source/blender/editors/uvedit/uvedit_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/uvedit/uvedit_ops.c b/source/blender/editors/uvedit/uvedit_ops.c index eb3d47ba1b5..1de4d05a721 100644 --- a/source/blender/editors/uvedit/uvedit_ops.c +++ b/source/blender/editors/uvedit/uvedit_ops.c @@ -1286,7 +1286,7 @@ static void uv_select_linked_multi(Scene *scene, vmap = BM_uv_vert_map_create(em->bm, limit, !select_faces, false); if (vmap == NULL) { - return; + continue; } stack = MEM_mallocN(sizeof(*stack) * (em->bm->totface + 1), "UvLinkStack"); |