PartDesign: remove Body::isFeature() because it's the same as BodyBase::hasFeature()
This commit is contained in:
committed by
Stefan Tröger
parent
6aa31c33f4
commit
1635b5c807
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user