[PartDesign]: Fix refine boolean not being obeyed at multiple places

Related to issue #3927
This commit is contained in:
vosk
2021-01-01 16:42:35 +02:00
committed by abdullahtahiriyo
parent b054e16cf4
commit 94405e33c7
3 changed files with 3 additions and 1 deletions

View File

@@ -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;
}

View File

@@ -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;
}

View File

@@ -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;
}