Toponaming/Part: Clean and add tests for FeatureMirroring and FeatureOffset
This commit is contained in:
@@ -95,9 +95,9 @@ App::DocumentObjectExecReturn *Offset::execute()
|
||||
auto shape = Feature::getTopoShape(source);
|
||||
if(shape.isNull())
|
||||
return new App::DocumentObjectExecReturn("Invalid source link");
|
||||
auto join = static_cast<TopoShape::JoinType>(Join.getValue());
|
||||
auto join = static_cast<JoinType>(Join.getValue());
|
||||
this->Shape.setValue(TopoShape(0).makeElementOffset(
|
||||
shape,offset,tol,inter,self,mode,join,fill));
|
||||
shape,offset,tol,inter,self,mode,join,fill ? FillType::fill : FillType::noFill));
|
||||
#endif
|
||||
return App::DocumentObject::StdReturn;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user