Added a gset->computeNumVertices() which was missing, this was causing models

to disappear after application of tri stripping.
This commit is contained in:
Robert Osfield
2002-04-17 11:29:49 +00:00
parent e17261c45f
commit 7504312839

View File

@@ -289,12 +289,13 @@ void TriStripVisitor::stripify(GeoSet& gset)
break;
}
}
gset.computeNumVerts();
gset.dirtyDisplayList();
gset.dirtyBound();
}
else
{
notify(INFO) << "No triangles to stripify"<< std::endl;
notify(INFO) << "No triangles to stripify"<< std::endl;
}
}