[PartDesign]: Fix refine boolean not being obeyed at multiple places
Related to issue #3927
This commit is contained in:
@@ -185,7 +185,7 @@ App::DocumentObjectExecReturn *Chamfer::execute(void)
|
||||
if (solidCount > 1) {
|
||||
return new App::DocumentObjectExecReturn("Chamfer: Result has multiple solids. This is not supported at this time.");
|
||||
}
|
||||
|
||||
shape = refineShapeIfActive(shape);
|
||||
this->Shape.setValue(getSolid(shape));
|
||||
return App::DocumentObject::StdReturn;
|
||||
}
|
||||
|
||||
@@ -123,6 +123,7 @@ App::DocumentObjectExecReturn *Fillet::execute(void)
|
||||
return new App::DocumentObjectExecReturn("Fillet: Result has multiple solids. This is not supported at this time.");
|
||||
}
|
||||
|
||||
shape = refineShapeIfActive(shape);
|
||||
this->Shape.setValue(getSolid(shape));
|
||||
return App::DocumentObject::StdReturn;
|
||||
}
|
||||
|
||||
@@ -303,6 +303,7 @@ App::DocumentObjectExecReturn *Pipe::execute(void)
|
||||
AddSubShape.setValue(result);
|
||||
|
||||
if(base.IsNull()) {
|
||||
result = refineShapeIfActive(result);
|
||||
Shape.setValue(getSolid(result));
|
||||
return App::DocumentObject::StdReturn;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user