Enhanced Pick dialog for PartDesign feature's sketches
This commit is contained in:
committed by
Stefan Tröger
parent
2e4b91a2d7
commit
fb85cd2899
@@ -86,7 +86,7 @@ const Part::TopoShape Body::getPreviousSolid(const PartDesign::Feature* f)
|
||||
return static_cast<const PartDesign::Feature*>(*it)->Shape.getShape();
|
||||
}
|
||||
|
||||
const bool Body::hasFeature(const PartDesign::Feature* f)
|
||||
const bool Body::hasFeature(const App::DocumentObject* f)
|
||||
{
|
||||
std::vector<App::DocumentObject*> features = Model.getValues();
|
||||
return std::find(features.begin(), features.end(), f) != features.end();
|
||||
|
||||
Reference in New Issue
Block a user