PD: [skip ci] when creating a datum object allow user to create a body if needed
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user