fixes #0002512 Allow multi-face part design tools

This commit is contained in:
Stefan Tröger
2016-05-18 19:49:05 +02:00
committed by wmayer
parent 4f8973fe8e
commit 83ce80f133
16 changed files with 63 additions and 52 deletions

View File

@@ -285,7 +285,7 @@ App::DocumentObjectExecReturn *Pipe::execute(void)
AddSubShape.setValue(result);
if(base.IsNull()) {
Shape.setValue(result);
Shape.setValue(getSolid(result));
return App::DocumentObject::StdReturn;
}
@@ -301,7 +301,7 @@ App::DocumentObjectExecReturn *Pipe::execute(void)
return new App::DocumentObjectExecReturn("Resulting shape is not a solid");
boolOp = refineShapeIfActive(boolOp);
Shape.setValue(boolOp);
Shape.setValue(getSolid(boolOp));
}
else if(getAddSubType() == FeatureAddSub::Subtractive) {
@@ -315,7 +315,7 @@ App::DocumentObjectExecReturn *Pipe::execute(void)
return new App::DocumentObjectExecReturn("Resulting shape is not a solid");
boolOp = refineShapeIfActive(boolOp);
Shape.setValue(boolOp);
Shape.setValue(getSolid(boolOp));
}
return App::DocumentObject::StdReturn;