Ogre Importer: Small fixes
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1228 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
@@ -193,7 +193,8 @@ void OgreImporter::ReadVertexBuffer(SubMesh &theSubMesh, XmlReader *Reader, unsi
|
||||
||Reader->getNodeName()==string("position")
|
||||
||Reader->getNodeName()==string("normal")
|
||||
||Reader->getNodeName()==string("tangent")
|
||||
||Reader->getNodeName()==string("texcoord"))
|
||||
||Reader->getNodeName()==string("texcoord")
|
||||
||Reader->getNodeName()==string("colour_diffuse"))
|
||||
{
|
||||
if(Reader->getNodeName()==string("vertex"))
|
||||
XmlRead(Reader);//Read an attribute tag
|
||||
@@ -242,6 +243,13 @@ void OgreImporter::ReadVertexBuffer(SubMesh &theSubMesh, XmlReader *Reader, unsi
|
||||
continue;//don't read another line at the end of the loop
|
||||
}
|
||||
|
||||
//Color:
|
||||
//TODO: actually save this data!
|
||||
else if(Reader->getNodeName()==string("colour_diffuse"))
|
||||
{
|
||||
//do nothing, because we not yet support them
|
||||
}
|
||||
|
||||
//Attribute could not be read
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user