PD: Add onlyHaveRefined() to FeatureRefine
This commit is contained in:
@@ -104,11 +104,7 @@ short Pipe::mustExecute() const
|
||||
|
||||
App::DocumentObjectExecReturn *Pipe::execute()
|
||||
{
|
||||
if (onlyHasToRefine()){
|
||||
TopoShape result = refineShapeIfActive(rawShape);
|
||||
Shape.setValue(result);
|
||||
return App::DocumentObject::StdReturn;
|
||||
}
|
||||
if (onlyHaveRefined()) { return App::DocumentObject::StdReturn; }
|
||||
|
||||
auto getSectionShape = [](App::DocumentObject* feature,
|
||||
const std::vector<std::string>& subs) -> TopoDS_Shape {
|
||||
|
||||
Reference in New Issue
Block a user