PD: remove trailing whitespace

This commit is contained in:
luz paz
2022-11-09 22:10:32 -05:00
committed by wwmayer
parent bca27b0f6b
commit d265c9ff63
70 changed files with 533 additions and 533 deletions

View File

@@ -70,7 +70,7 @@ App::DocumentObjectExecReturn *Boolean::execute()
{
// Get the operation type
std::string type = Type.getValueAsString();
// Check the parameters
const Part::Feature* baseFeature = this->getBaseObject(/* silent = */ true);
@@ -90,11 +90,11 @@ App::DocumentObjectExecReturn *Boolean::execute()
auto feature = tools.back();
if(!feature->isDerivedFrom(Part::Feature::getClassTypeId()))
return new App::DocumentObjectExecReturn("Cannot do boolean with anything but Part::Feature and its derivatives");
baseTopShape = static_cast<Part::Feature*>(feature)->Shape.getShape();
tools.pop_back();
}
if (baseTopShape.getShape().IsNull())
return new App::DocumentObjectExecReturn("Cannot do boolean operation with invalid base shape");
@@ -157,7 +157,7 @@ App::DocumentObjectExecReturn *Boolean::execute()
}
void Boolean::onChanged(const App::Property* prop) {
if(strcmp(prop->getName(), "Group") == 0)
touch();