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

This commit is contained in:
Alexander Golubev
2016-04-12 18:12:10 +02:00
committed by Stefan Tröger
parent 36fe5994b9
commit f4a5bf6acd
3 changed files with 3 additions and 12 deletions
-10
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)
{