fix crash when Part model changes with VBO activated

This commit is contained in:
wmayer
2017-05-16 06:03:22 +02:00
parent dc413acc42
commit e02db451dd

View File

@@ -288,6 +288,7 @@ void SoBrepFaceSet::doAction(SoAction* action)
// So, the alternative way is to write a custom SoAction class.
else if (action->getTypeId() == Gui::SoUpdateVBOAction::getClassTypeId()) {
PRIVATE(this)->updateVbo = true;
PRIVATE(this)->vboLoaded = false;
}
inherited::doAction(action);