Commit 7ac9baa0 authored by Ilya Prokhorov's avatar Ilya Prokhorov

Model validator fixed

parent 8a863e16
......@@ -89,7 +89,7 @@ bool FSGLModel::isValid()
cout << "No material for mesh - not valid" << endl;
return false;
}
if (mesh->verticesObjects->size() < 1) {
if (mesh->verticesObjects.size() < 1) {
cout << "No vertices in mesh - not valid" << endl;
return false;
}
......
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