mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-20 03:16:10 +00:00
Moved the parsing of the rfx shader OUT of the assert (!)
This commit is contained in:
parent
3fac176660
commit
979ac9ff39
@ -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);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user