+ get first solid in result

git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5073 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
This commit is contained in:
wmayer
2011-10-27 11:00:24 +00:00
parent 6eb79ab708
commit 7b4e09e310

View File

@@ -162,7 +162,7 @@ App::DocumentObjectExecReturn *Pad::execute(void)
return new App::DocumentObjectExecReturn("Support is not a solid");
}
else {
TopoDS_Shape result = TopoDS::Solid(PrismMaker.Shape());
TopoDS_Shape result = this->getSolid(PrismMaker.Shape());
// set the additive shape property for later usage in e.g. pattern
this->AddShape.setValue(result);
this->Shape.setValue(result);