diff --git a/vcg/complex/trimesh/refine_loop.h b/vcg/complex/trimesh/refine_loop.h index abdbbb2e..81fb1ef3 100644 --- a/vcg/complex/trimesh/refine_loop.h +++ b/vcg/complex/trimesh/refine_loop.h @@ -222,8 +222,7 @@ bool RefineOddEvenE(MESH_TYPE &m, ODD_VERT odd, EVEN_VERT even, PREDICATE edgePr int j = 0; - typename MESH_TYPE::FaceType::ColorType color[6]; // per ogni faccia sono al piu' tre i nuovi valori - // di texture per wedge (uno per ogni edge) + // di texture per wedge (uno per ogni edge) typename MESH_TYPE::VertexIterator vi; typename MESH_TYPE::FaceIterator fi; diff --git a/wrap/io_trimesh/import_ply.h b/wrap/io_trimesh/import_ply.h index 2052570c..48c5c152 100644 --- a/wrap/io_trimesh/import_ply.h +++ b/wrap/io_trimesh/import_ply.h @@ -695,6 +695,7 @@ static int Open( OpenMeshType &m, const char * filename, PlyInfo &pi ) // axis (i.e. rotation). Matrix44 rm; + rm.SetIdentity(); rm[0][0] = ca.x_axisx; rm[0][1] = ca.x_axisy; rm[0][2] = ca.x_axisz;