+ add GUI command for shape refinement

git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5307 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
This commit is contained in:
wmayer
2011-12-15 13:16:44 +00:00
parent 7e0a5ddf37
commit 3b5c2c951f
5 changed files with 100 additions and 12 deletions

View File

@@ -1251,8 +1251,8 @@ PyObject* TopoShapePy::removeSplitter(PyObject *args)
try {
// Remove redundant splitter
this->getTopoShapePtr()->removeSplitter();
Py_Return;
TopoDS_Shape shape = this->getTopoShapePtr()->removeSplitter();
return new TopoShapePy(new TopoShape(shape));
}
catch (Standard_Failure) {
Handle_Standard_Failure e = Standard_Failure::Caught();