From 25e97764046c145b3e4d15fa30b0206803171613 Mon Sep 17 00:00:00 2001 From: dibenedetto Date: Mon, 6 Jul 2009 11:23:08 +0000 Subject: [PATCH] removed unused vertex which caused errors in ocf meshes. --- wrap/io_trimesh/import_ply.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/wrap/io_trimesh/import_ply.h b/wrap/io_trimesh/import_ply.h index 6a12abf8..d0692453 100644 --- a/wrap/io_trimesh/import_ply.h +++ b/wrap/io_trimesh/import_ply.h @@ -469,12 +469,16 @@ static int Open( OpenMeshType &m, const char * filename, PlyInfo &pi ) pi.status = ::vcg::ply::E_NOERROR; - // init defaults + /* + // TO BE REMOVED: tv not used AND "spurious" vertex declaration causes error if ocf + + // init defaults VertexType tv; //tv.ClearFlags(); if (vcg::tri::HasPerVertexQuality(m)) tv.Q() = (typename OpenMeshType::VertexType::QualityType)1.0; if (vcg::tri::HasPerVertexColor (m)) tv.C() = Color4b(Color4b::White); + */ // Descrittori delle strutture