Skip to content

Commit

Permalink
PD: [skip ci] when creating a datum object allow user to create a bod…
Browse files Browse the repository at this point in the history
…y if needed
  • Loading branch information
wwmayer committed Oct 22, 2021
1 parent 45c3cee commit 87ad1c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/PartDesign/Gui/Command.cpp
Expand Up @@ -107,7 +107,7 @@ void UnifiedDatumCommand(Gui::Command &cmd, Base::Type type, std::string name)
bEditSelected = true;
}

PartDesign::Body *pcActiveBody = PartDesignGui::getBody(/*messageIfNot = */false);
PartDesign::Body *pcActiveBody = PartDesignGui::getBody(/*messageIfNot = */true);

if (bEditSelected) {
std::string tmp = std::string("Edit ")+name;
Expand Down

0 comments on commit 87ad1c0

Please sign in to comment.