This commit adds getShape and setShape to TopoShape
This commit is contained in:
committed by
wmayer
parent
5a30a43862
commit
7f4a437cc2
@@ -394,7 +394,7 @@ App::DocumentObjectExecReturn *Body::execute(void)
|
||||
// get the shape of the tip
|
||||
tipShape = static_cast<Part::Feature *>(tip)->Shape.getShape();
|
||||
|
||||
if ( tipShape._Shape.IsNull () ) {
|
||||
if ( tipShape.getShape().IsNull () ) {
|
||||
return new App::DocumentObjectExecReturn ( "Tip shape is empty" );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user