+ fixes #0001463: setting Vertex.Tolerance modifies bound and shared shapes

This commit is contained in:
wmayer
2014-03-06 09:50:49 +01:00
parent 8e711fc391
commit 92253429c5

View File

@@ -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;
}