Merge branch 'master' into optimizeLinearSegments_fix
This commit is contained in:
@@ -66,8 +66,8 @@ App::DocumentObjectExecReturn* FeatureBase::execute(void) {
|
||||
return new App::DocumentObjectExecReturn("BaseFeature must be a Part::Feature");
|
||||
|
||||
auto shape = static_cast<Part::Feature*>(BaseFeature.getValue())->Shape.getValue();
|
||||
if(shape.IsNull())
|
||||
return new App::DocumentObjectExecReturn("BaseFeature has a empty shape");
|
||||
if (shape.IsNull())
|
||||
return new App::DocumentObjectExecReturn("BaseFeature has an empty shape");
|
||||
|
||||
Shape.setValue(shape);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user