cleanup experimental code, improve whitespaces

This commit is contained in:
wmayer
2017-02-11 15:32:25 +01:00
parent 968a597aa7
commit 56ff88ea46
8 changed files with 330 additions and 378 deletions

View File

@@ -799,9 +799,10 @@ void ViewProviderPartExt::reload()
void ViewProviderPartExt::updateData(const App::Property* prop)
{
// vejmarie: Force VBO update of the part
this->faceset->update_vbo=1;
if (prop->getTypeId() == Part::PropertyPartShape::getClassTypeId()) {
// vejmarie: Force VBO update of the part
this->faceset->updateVbo = true;
// get the shape to show
const TopoDS_Shape &cShape = static_cast<const Part::PropertyPartShape*>(prop)->getValue();