Fixed error message on cerr in Qt Point Set demo.

This commit is contained in:
Laurent Saboret 2009-06-26 13:05:49 +00:00
parent 43a9e6b4ac
commit 6469d5e568
2 changed files with 4 additions and 3 deletions

View File

@ -91,8 +91,8 @@ read_off_points_and_normals(
if ( !(iss >> signature)
|| (signature != "OFF" && signature != "NOFF") )
{
// if unsupported file format
std::cerr << "Incorrect file format line " << lineNumber << " of file" << std::endl;
// if wrong file format
//std::cerr << "Incorrect file format line " << lineNumber << " of file" << std::endl;
return false;
}
}

View File

@ -110,7 +110,8 @@ read_xyz_points_and_normals(
}
else
{
std::cerr << "Error line " << lineNumber << " of file" << std::endl;
// if wrong file format
//std::cerr << "Error line " << lineNumber << " of file" << std::endl;
return false;
}
}