Fix shutdown crash with primitives in the document

and cleanup the header
This commit is contained in:
Stefan Tröger 2015-11-10 06:57:02 +01:00
parent 4d12023f17
commit 3792f38191
2 changed files with 0 additions and 4 deletions

View File

@ -83,7 +83,6 @@ void ViewProviderDatumCoordinateSystem::attach ( App::DocumentObject *obj ) {
getShapeRoot ()->addChild(binding);
getShapeRoot ()->addChild(material);
coord = new SoCoordinate3();
coord->point.setNum(4);
ViewProviderDatum::setExtents ( defaultBoundBox () );

View File

@ -52,10 +52,7 @@ protected:
void updateAddSubShapeIndicator();
std::string displayMode;
SoSeparator* previewShape;
PartGui::SoBrepFaceSet* previewFaceSet;
SoCoordinate3* previewCoords;
SoNormal* previewNorm;
};
} // namespace PartDesignGui