Skip to content

Commit

Permalink
+ fixes #1463: setting Vertex.Tolerance modifies bound and shared shapes
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Mar 6, 2014
1 parent 8e711fc commit 9225342
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Mod/Part/App/TopoShapePyImp.cpp
Expand Up @@ -165,7 +165,8 @@ PyObject* TopoShapePy::copy(PyObject *args)
return 0;
}

static_cast<TopoShapePy*>(cpy)->getTopoShapePtr()->_Shape = shape;
BRepBuilderAPI_Copy c(shape);
static_cast<TopoShapePy*>(cpy)->getTopoShapePtr()->_Shape = c.Shape();
return cpy;
}

Expand Down

0 comments on commit 9225342

Please sign in to comment.