Added a gset->computeNumVertices() which was missing, this was causing models
to disappear after application of tri stripping.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user