PD: Add onlyHaveRefined() to FeatureRefine
This commit is contained in:
@@ -68,11 +68,7 @@ FeaturePrimitive::FeaturePrimitive()
|
||||
|
||||
App::DocumentObjectExecReturn* FeaturePrimitive::execute(const TopoDS_Shape& primitive)
|
||||
{
|
||||
if (onlyHasToRefine()){
|
||||
TopoShape result = refineShapeIfActive(rawShape);
|
||||
Shape.setValue(result);
|
||||
return App::DocumentObject::StdReturn;
|
||||
}
|
||||
if (onlyHaveRefined()) { return App::DocumentObject::StdReturn; }
|
||||
|
||||
try {
|
||||
//transform the primitive in the correct coordinance
|
||||
|
||||
Reference in New Issue
Block a user