From f16b821dc088b04efefaab01861fd3d120f4917e Mon Sep 17 00:00:00 2001 From: maxcorsini Date: Mon, 27 Aug 2012 15:50:55 +0000 Subject: [PATCH] minor fix --- vcg/space/index/index2D/spatial_hashing_2D.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vcg/space/index/index2D/spatial_hashing_2D.h b/vcg/space/index/index2D/spatial_hashing_2D.h index e6091bde..fdcd6cc5 100644 --- a/vcg/space/index/index2D/spatial_hashing_2D.h +++ b/vcg/space/index/index2D/spatial_hashing_2D.h @@ -350,8 +350,8 @@ namespace vcg{ voxel[0] = dim[0]/siz[0]; voxel[1] = dim[1]/siz[1]; - cell_size=voxel.Norm(); - //voxel[2] = dim[2]/siz[2]; + cell_size=voxel.Norm(); + hash_table.clear(); }