Skip to content

Commit

Permalink
Sketcher: Fixes #3009 error with geompoints in sketcher
Browse files Browse the repository at this point in the history
=======================================================

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.
  • Loading branch information
abdullahtahiriyo authored and wwmayer committed Apr 17, 2017
1 parent b6833e8 commit 4c3ffb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Sketcher/App/Sketch.cpp
Expand Up @@ -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()));
}
}
Expand Down

0 comments on commit 4c3ffb5

Please sign in to comment.