Skip to content
Snippets Groups Projects
Commit ea390bad authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

forgot to classify vertex in STL reader
parent a71dce88
No related branches found
No related tags found
No related merge requests found
// $Id: GModelIO_Mesh.cpp,v 1.3 2006-11-29 03:11:18 geuzaine Exp $ // $Id: GModelIO_Mesh.cpp,v 1.4 2006-11-30 15:14:29 geuzaine Exp $
// //
// Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
// //
...@@ -865,7 +865,7 @@ int GModel::readSTL(const std::string &name, double tolerance) ...@@ -865,7 +865,7 @@ int GModel::readSTL(const std::string &name, double tolerance)
v[j] = *it; v[j] = *it;
} }
else { else {
v[j] = new MVertex(x, y, z); v[j] = new MVertex(x, y, z, face);
vertices.insert(v[j]); vertices.insert(v[j]);
face->mesh_vertices.push_back(v[j]); face->mesh_vertices.push_back(v[j]);
} }
......
$Id: TODO,v 1.28 2006-11-30 01:10:24 geuzaine Exp $ $Id: TODO,v 1.29 2006-11-30 15:14:29 geuzaine Exp $
********************************************************************
test isSeam() dans le second ordre -- si oui, interpo lineaireemnt
******************************************************************** ********************************************************************
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment