PD: Add onlyHaveRefined() to FeatureRefine
This commit is contained in:
@@ -80,11 +80,8 @@ short Revolution::mustExecute() const
|
||||
|
||||
App::DocumentObjectExecReturn* Revolution::execute()
|
||||
{
|
||||
if (onlyHasToRefine()){
|
||||
TopoShape result = refineShapeIfActive(rawShape);
|
||||
Shape.setValue(result);
|
||||
return App::DocumentObject::StdReturn;
|
||||
}
|
||||
if (onlyHaveRefined()) { return App::DocumentObject::StdReturn; }
|
||||
|
||||
|
||||
// Validate parameters
|
||||
// All angles are in radians unless explicitly stated
|
||||
|
||||
Reference in New Issue
Block a user