Commit c2553259 authored by Jan Möbius's avatar Jan Möbius

Avoid some warnings by providing unknown Texture image for original textures

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@5991 383ad7c9-94d9-4d36-a494-682f7c89f535
parent b7b4ccad
......@@ -216,7 +216,7 @@ void TextureControlPlugin::handleFileOpenTextures( MeshT*& _mesh , int _objectId
for ( TriMesh::VertexIter v_it = _mesh->vertices_begin(); v_it != _mesh->vertices_end(); ++v_it)
_mesh->property(oldVertexCoords, v_it ) = _mesh->texcoord2D( v_it );
slotTextureAdded("Original Per Vertex Texture Coords","",_objectId);
slotTextureAdded("Original Per Vertex Texture Coords","unknown.png",_objectId);
// ================================================================================
// Create a backup of the original per Face texture Coordinates
......@@ -226,7 +226,7 @@ void TextureControlPlugin::handleFileOpenTextures( MeshT*& _mesh , int _objectId
for ( TriMesh::HalfedgeIter he_it = _mesh->halfedges_begin(); he_it != _mesh->halfedges_end(); ++he_it)
_mesh->property(oldHalfedgeCoords, he_it ) = _mesh->texcoord2D( he_it );
slotTextureAdded("Original Per Face Texture Coords","",_objectId);
slotTextureAdded("Original Per Face Texture Coords","unknown.png",_objectId);
slotSetTextureMode("Original Per Face Texture Coords","type=halfedgebased",_objectId);
// ================================================================================
......
......@@ -51,8 +51,8 @@ TextureData::TextureData() :
nextInternalID_(1)
{
// map 0 to no texture
textureMap_[0] = 0;
propertyMap_[0] = "No Texture";;
textureMap_[0] = 0;
propertyMap_[0] = "No Texture";
}
//-----------------------------------------------------------------------------------
......
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