[Bf-blender-cvs] [a2eb94b] master: Fix T44631: Custom Normal Data Transfer crash.

Bastien Montagne noreply at git.blender.org
Thu May 7 15:33:13 CEST 2015


Commit: a2eb94b47032502a65027db4b241a40e56f767eb
Author: Bastien Montagne
Date:   Thu May 7 15:32:37 2015 +0200
Branches: master
https://developer.blender.org/rBa2eb94b47032502a65027db4b241a40e56f767eb

Fix T44631: Custom Normal Data Transfer crash.

Own stupid mistake in rBcdabf7e3...

===================================================================

M	source/blender/blenkernel/intern/mesh_remap.c

===================================================================

diff --git a/source/blender/blenkernel/intern/mesh_remap.c b/source/blender/blenkernel/intern/mesh_remap.c
index 36b8a32..0ed1068 100644
--- a/source/blender/blenkernel/intern/mesh_remap.c
+++ b/source/blender/blenkernel/intern/mesh_remap.c
@@ -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;
 								}




More information about the Bf-blender-cvs mailing list