PD: Add onlyHaveRefined() to FeatureRefine
This commit is contained in:
@@ -104,11 +104,7 @@ short Chamfer::mustExecute() const
|
||||
|
||||
App::DocumentObjectExecReturn *Chamfer::execute()
|
||||
{
|
||||
if (onlyHasToRefine()){
|
||||
TopoShape result = refineShapeIfActive(rawShape);
|
||||
Shape.setValue(result);
|
||||
return App::DocumentObject::StdReturn;
|
||||
}
|
||||
if (onlyHaveRefined()) { return App::DocumentObject::StdReturn; }
|
||||
|
||||
// NOTE: Normally the Base property and the BaseFeature property should point to the same object.
|
||||
// The only difference is that the Base property also stores the edges that are to be chamfered
|
||||
|
||||
Reference in New Issue
Block a user