Commit 134fe5f7 authored by hybrid's avatar hybrid

Reenable materials for old LWO formats.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1220 dfc29bdd-3216-0410-991c-e03cc46cb475
parent c167d7c7
......@@ -316,6 +316,8 @@ bool CLWOMeshFileLoader::readChunks()
mat->Name="";
mat->Meshbuffer=new scene::SMeshBuffer();
size -= readString(mat->Name);
if (FormatVersion!=2)
mat->TagType = 1; // format 2 has more types
Materials.push_back(mat);
}
}
......
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