PartDesign: remove Body::isFeature() because it's the same as BodyBase::hasFeature()
This commit is contained in:
committed by
Stefan Tröger
parent
36fe5994b9
commit
f4a5bf6acd
@@ -100,7 +100,7 @@ PartDesign::Body *getBodyFor(App::DocumentObject* obj, bool messageIfNot)
|
||||
|
||||
//try to find the part the object is in
|
||||
for(PartDesign::Body* b : obj->getDocument()->getObjectsOfType<PartDesign::Body>()) {
|
||||
if(b->isFeature(obj)) {
|
||||
if(b->hasFeature(obj)) {
|
||||
return b;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user