diff --git a/src/Mod/TechDraw/App/Geometry.cpp b/src/Mod/TechDraw/App/Geometry.cpp index a22e1b8ac..94dc8c31e 100644 --- a/src/Mod/TechDraw/App/Geometry.cpp +++ b/src/Mod/TechDraw/App/Geometry.cpp @@ -401,8 +401,7 @@ Generic::Generic(const TopoDS_Edge &e) points.push_back(Base::Vector2D(nodes(i).X(), nodes(i).Y())); } } else { - //no polygon representation? approximate with line? - Base::Console().Log("INFO - Generic::Generic(edge) - polygon is NULL\n"); + //no polygon representation? approximate with line gp_Pnt p = BRep_Tool::Pnt(TopExp::FirstVertex(occEdge)); points.push_back(Base::Vector2D(p.X(), p.Y())); p = BRep_Tool::Pnt(TopExp::LastVertex(occEdge));