Commit 0c54b233 authored by Jan Möbius's avatar Jan Möbius
Browse files

Removed debug output

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@11732 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 9cfd27f5
......@@ -1317,7 +1317,8 @@ setTextureIndexPropertyName( std::string _indexPropertyName ) {
// Check if the given property exists
OpenMesh::FPropHandleT< int > textureIndexProperty;
if ( !mesh_.get_property_handle(textureIndexProperty,_indexPropertyName) ) {
std::cerr << "DrawMeshT: Unable to get per face texture Index property named " << _indexPropertyName << std::endl;
if ( _indexPropertyName != "No Texture Index" )
std::cerr << "DrawMeshT: Unable to get per face texture Index property named " << _indexPropertyName << std::endl;
return;
}
......@@ -1340,7 +1341,8 @@ setPerFaceTextureCoordinatePropertyName( std::string _perFaceTextureCoordinatePr
// Check if the given property exists
OpenMesh::HPropHandleT< typename Mesh::TexCoord2D > perFaceTextureCoordinateProperty;
if ( !mesh_.get_property_handle(perFaceTextureCoordinateProperty,_perFaceTextureCoordinatePropertyName) ) {
std::cerr << "DrawMeshT: Unable to get per face texture coordinate property named " << _perFaceTextureCoordinatePropertyName << std::endl;
if ( _perFaceTextureCoordinatePropertyName != "No Texture" )
std::cerr << "DrawMeshT: Unable to get per face texture coordinate property named " << _perFaceTextureCoordinatePropertyName << std::endl;
return;
}
......
Supports Markdown
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