Commit e0e4d665 authored by Mike Kremer's avatar Mike Kremer

Removed annoying warning about non-persistent properties when clearing OpenVolumeMeshes.

Patch was written by Max Lyon.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@17640 383ad7c9-94d9-4d36-a494-682f7c89f535
parent f136cca2
......@@ -345,7 +345,7 @@ TetrahedralCuboidGenerator::TetrahedralCuboidGenerator(PolyhedralMesh& mesh,
unsigned const n_z) :
mesh_(&mesh)
{
mesh_->clear();
mesh_->clear(false);
size_[0] = n_x;
size_[1] = n_y;
......
......@@ -53,7 +53,7 @@ void FileOpenVolumeMeshPlugin::loadMesh(const char* _filename, MeshT& _mesh, boo
bool edges_in_file = false;
typedef typename MeshT::PointT Vertex;
_mesh.clear();
_mesh.clear(false);
std::ifstream iff(_filename, std::ios::in);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment