This commit adds getShape and setShape to TopoShape
This commit is contained in:
committed by
wmayer
parent
5a30a43862
commit
7f4a437cc2
@@ -131,7 +131,7 @@ const Part::TopoShape Feature::getBaseTopoShape() const {
|
||||
const Part::Feature* BaseObject = getBaseObject();
|
||||
|
||||
const Part::TopoShape& result = BaseObject->Shape.getShape();
|
||||
if (result._Shape.IsNull())
|
||||
if (result.getShape().IsNull())
|
||||
throw Base::Exception("Base feature's TopoShape is invalid");
|
||||
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user