Skip to content
Snippets Groups Projects
Commit db2082d4 authored by Martin Schönherr's avatar Martin Schönherr :speech_balloon:
Browse files

fix STLReader

parent fbcb3f78
No related branches found
No related tags found
1 merge request!72Clean up grid generator
......@@ -233,6 +233,7 @@ std::vector<Triangle> STLReader::readBinarySTL(const std::string& name)
triangles.push_back(Triangle(p1, p2, p3, normal));
}
(void)sizef;
fclose(file);
return triangles;
......@@ -330,7 +331,7 @@ std::vector<Triangle> STLReader::readBinarySTL(const BoundingBox &box, const std
int size = (int)triangles.size();
*logging::out << logging::Logger::INFO_INTERMEDIATE << "Number of Triangles in process: " << size << "\n";
*logging::out << logging::Logger::INFO_INTERMEDIATE << "Complete reading STL file. \n";
(void)sizef;
fclose(file);
return triangles;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment