Fix T44801: Blender crash in UV-editor.

Mistake in cleanup rB30b45d55... Odd compiler did not yell at that. :|
This commit is contained in:
Bastien Montagne 2015-05-22 10:47:56 +02:00
parent ed2cb8de2f
commit be6479c9ea

@ -1032,7 +1032,7 @@ static int uv_select_edgeloop(Scene *scene, Image *ima, BMEditMesh *em, NearestH
/* setup */ /* setup */
BM_mesh_elem_table_ensure(em->bm, BM_FACE); BM_mesh_elem_table_ensure(em->bm, BM_FACE);
vmap = BM_uv_vert_map_create(em->bm, 0, limit, false); vmap = BM_uv_vert_map_create(em->bm, limit, false, false);
BM_mesh_elem_index_ensure(em->bm, BM_VERT | BM_FACE); BM_mesh_elem_index_ensure(em->bm, BM_VERT | BM_FACE);