Fix shutdown crash with primitives in the document
and cleanup the header
This commit is contained in:
parent
4d12023f17
commit
3792f38191
|
@ -83,7 +83,6 @@ void ViewProviderDatumCoordinateSystem::attach ( App::DocumentObject *obj ) {
|
||||||
getShapeRoot ()->addChild(binding);
|
getShapeRoot ()->addChild(binding);
|
||||||
getShapeRoot ()->addChild(material);
|
getShapeRoot ()->addChild(material);
|
||||||
|
|
||||||
coord = new SoCoordinate3();
|
|
||||||
coord->point.setNum(4);
|
coord->point.setNum(4);
|
||||||
|
|
||||||
ViewProviderDatum::setExtents ( defaultBoundBox () );
|
ViewProviderDatum::setExtents ( defaultBoundBox () );
|
||||||
|
|
|
@ -52,10 +52,7 @@ protected:
|
||||||
void updateAddSubShapeIndicator();
|
void updateAddSubShapeIndicator();
|
||||||
|
|
||||||
std::string displayMode;
|
std::string displayMode;
|
||||||
SoSeparator* previewShape;
|
|
||||||
PartGui::SoBrepFaceSet* previewFaceSet;
|
PartGui::SoBrepFaceSet* previewFaceSet;
|
||||||
SoCoordinate3* previewCoords;
|
|
||||||
SoNormal* previewNorm;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace PartDesignGui
|
} // namespace PartDesignGui
|
||||||
|
|
Loading…
Reference in New Issue
Block a user