# OgreImporter: fix bool-to-int conversion warning.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1181 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/5/head
parent
8e5a2ad464
commit
6485f8d486
|
@ -419,7 +419,7 @@ void OgreImporter::ReadVertexBuffer(SubMesh &theSubMesh, XmlReader *Reader, unsi
|
|||
theSubMesh.NumUvs=0;
|
||||
else
|
||||
{
|
||||
ReadUvs=theSubMesh.NumUvs=GetAttribute<int>(Reader, "texture_coords");
|
||||
ReadUvs=!!(theSubMesh.NumUvs=GetAttribute<int>(Reader, "texture_coords"));
|
||||
theSubMesh.Uvs.reserve(NumVertices);
|
||||
DefaultLogger::get()->debug("reading texture coords");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue