From be09213bfb629be6b7b0cecfbdaa76b2d6c28090 Mon Sep 17 00:00:00 2001 From: Abdullah Tahiri Date: Sun, 16 Apr 2017 00:50:07 +0200 Subject: [PATCH] Sketcher: Fixes #3009 error with geompoints in sketcher ======================================================= Introduction of construction points as fixed solver entities introduced this bug, as there was no specific code to check for points as they were by default construction. --- src/Mod/Sketcher/App/Sketch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Sketcher/App/Sketch.cpp b/src/Mod/Sketcher/App/Sketch.cpp index 6bd0e73835..4089f959ce 100644 --- a/src/Mod/Sketcher/App/Sketch.cpp +++ b/src/Mod/Sketcher/App/Sketch.cpp @@ -3325,7 +3325,7 @@ TopoShape Sketch::toShape(void) const // collecting all (non constructive and non external) edges out of the sketch for (;it!=Geoms.end();++it) { - if (!it->external && !it->geo->Construction) { + if (!it->external && !it->geo->Construction && (it->type != Point)) { edge_list.push_back(TopoDS::Edge(it->geo->toShape())); } }