[Bf-blender-cvs] [d00f3bd] mesh-transfer-data: error in last commit

Campbell Barton noreply at git.blender.org
Mon Nov 17 16:17:27 CET 2014


Commit: d00f3bdeb42fdb3451ed0b24320be88bf8e6b75c
Author: Campbell Barton
Date:   Mon Nov 17 14:55:06 2014 +0100
Branches: mesh-transfer-data
https://developer.blender.org/rBd00f3bdeb42fdb3451ed0b24320be88bf8e6b75c

error in last commit

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

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

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

diff --git a/source/blender/blenkernel/intern/mesh_mapping.c b/source/blender/blenkernel/intern/mesh_mapping.c
index dee02c2..618eb13 100644
--- a/source/blender/blenkernel/intern/mesh_mapping.c
+++ b/source/blender/blenkernel/intern/mesh_mapping.c
@@ -607,7 +607,6 @@ void BKE_mesh_loop_islands_clear(MeshIslands *islands)
 
 	if (islands->mem) {
 		BLI_memarena_clear(islands->mem);
-		islands->mem = NULL;
 	}
 
 	islands->allocated_islands = 0;
@@ -617,6 +616,7 @@ void BKE_mesh_loop_islands_free(MeshIslands *islands)
 {
 	if (islands->mem) {
 		BLI_memarena_free(islands->mem);
+		islands->mem = NULL;
 	}
 }




More information about the Bf-blender-cvs mailing list