PartDesign: remove Body::isFeature() because it's the same as BodyBase::hasFeature()

This commit is contained in:
Alexander Golubev
2015-06-28 07:40:30 +03:00
committed by Stefan Tröger
parent 6aa31c33f4
commit 1635b5c807
3 changed files with 3 additions and 12 deletions

View File

@@ -327,16 +327,6 @@ void Body::removeFeature(App::DocumentObject* feature)
Model.setValues(model);
}
bool Body::isFeature(App::DocumentObject* feature)
{
for(App::DocumentObject* obj : Model.getValues()) {
if(obj == feature)
return true;
}
return false;
}
App::DocumentObjectExecReturn *Body::execute(void)
{