Merge branch 'master' into optimizeLinearSegments_fix

This commit is contained in:
Gabriel Wicke
2020-06-07 16:04:51 -07:00
committed by GitHub

View File

@@ -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);