Commit 0612c55f authored by Jan Möbius's avatar Jan Möbius

Use internal function to get dataType

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@6276 383ad7c9-94d9-4d36-a494-682f7c89f535
parent b3d0b6c4
......@@ -504,9 +504,9 @@
bool ok = OpenMesh::IO::read_mesh( (*mesh()) , filename );
if (!ok)
{
if ( objectDataType == DATA_TRIANGLE_MESH )
if ( dataType() == DATA_TRIANGLE_MESH )
std::cerr << "Main Application : Read error for Triangle Mesh at "<< filename << std::endl;
if ( objectDataType == DATA_POLY_MESH )
if ( dataType() == DATA_POLY_MESH )
std::cerr << "Main Application : Read error for Poly Mesh\n";
return false;
}
......
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