diff --git a/src/Mod/TechDraw/App/DrawViewPart.cpp b/src/Mod/TechDraw/App/DrawViewPart.cpp index 7c779d7108..ea096a61d4 100644 --- a/src/Mod/TechDraw/App/DrawViewPart.cpp +++ b/src/Mod/TechDraw/App/DrawViewPart.cpp @@ -425,7 +425,7 @@ GeometryObject* DrawViewPart::makeGeometryForShape(TopoDS_Shape shape) if (!DrawUtil::fpCompare(Rotation.getValue(),0.0)) { scaledShape = TechDraw::rotateShape(scaledShape, viewAxis, - Rotation.getValue()); + Rotation.getValue()); //conventional rotation } // BRepTools::Write(scaledShape, "DVPScaled.brep"); //debug GeometryObject* go = buildGeometryObject(scaledShape,viewAxis); @@ -622,9 +622,13 @@ void DrawViewPart::extractFaces() std::vector DrawViewPart::getHatches() const { +// Base::Console().Message("DVP::getHatches()\n"); std::vector result; std::vector children = getInList(); for (std::vector::iterator it = children.begin(); it != children.end(); ++it) { + if ((*it)->isRemoving()) { + continue; + } if ((*it)->getTypeId().isDerivedFrom(DrawHatch::getClassTypeId())) { TechDraw::DrawHatch* hatch = dynamic_cast(*it); result.push_back(hatch);