Skip to content

Commit

Permalink
PartDesign: [skip ci] fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Jun 7, 2020
1 parent 9a67154 commit c8ce128
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mod/PartDesign/App/FeatureBase.cpp
Expand Up @@ -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);

Expand Down

0 comments on commit c8ce128

Please sign in to comment.