Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Oeser <info@graphics-engineer.com>2019-12-18 18:15:48 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2019-12-19 15:41:02 +0300
commit701338d31c7718ae64637c3fe24ddd03a977ae0c (patch)
treeb652feb191145cb6cd10975a00d3db5faa1730d0 /source/blender/editors/uvedit/uvedit_ops.c
parent076cedc777bd564a44ea174d2068c7e5ac2ba02b (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/uvedit_ops.c')
-rw-r--r--source/blender/editors/uvedit/uvedit_ops.c2
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");