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 cf4964fa8b
commit 846aa8febe
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 () );