Sculpt: tool updates for latest changes
[blender.git] / source / blender / blenkernel / intern / object.c
index 7ed120c3cfb9f4f65b9e02fd0388b06f3049410b..6f0749e0fcd7a40e74c4494fac981106ebbdd39a 100644 (file)
@@ -235,11 +235,8 @@ void free_sculptsession(SculptSession **ssp)
                if(ss->layer_disps)
                        MEM_freeN(ss->layer_disps);
 
-               if(ss->mesh_co_orig)
-                       MEM_freeN(ss->mesh_co_orig);
-
-               if(ss->face_normals)
-                       MEM_freeN(ss->face_normals);
+               if(ss->layer_co)
+                       MEM_freeN(ss->layer_co);
 
                MEM_freeN(ss);