Fix T44631: Custom Normal Data Transfer crash.

Own stupid mistake in rBcdabf7e3...
This commit is contained in:
Bastien Montagne 2015-05-07 15:32:37 +02:00
parent aa3fc89257
commit a2eb94b470
Notes: blender-bot 2023-02-14 09:09:41 +01:00
Referenced by issue #44631, Custom Normal Data Transfer crash.
1 changed files with 1 additions and 1 deletions

View File

@ -1304,7 +1304,7 @@ void BKE_mesh_remap_calc_loops_from_dm(
/* A same vert may be at the boundary of several islands! Hence, we have to ensure
* poly/loop we are currently considering *belongs* to current island! */
if (island_store.items_to_islands[lidx_src] != tindex) {
if (use_islands && island_store.items_to_islands[lidx_src] != tindex) {
continue;
}