Moved the parsing of the rfx shader OUT of the assert (!)

This commit is contained in:
Paolo Cignoni cignoni 2008-12-10 00:52:00 +00:00
parent 3fac176660
commit 979ac9ff39

View File

@ -119,7 +119,7 @@ void RenderRFX::Init(QAction *action, MeshModel &mesh,
QFileInfo meshBaseDir(mesh.fileName.c_str());
theParser.setMeshTexture(meshBaseDir.absolutePath()+"/"+QString(mesh.cm.textures[0].c_str()));
}
assert(theParser.Parse());
theParser.Parse();
activeShader = theParser.GetShader();
assert(activeShader);