Enhanced Pick dialog for PartDesign feature's sketches

This commit is contained in:
jrheinlaender
2016-04-12 18:11:47 +02:00
committed by Stefan Tröger
parent d16a886ad9
commit 94b6b89610
9 changed files with 467 additions and 1598 deletions
+1 -1
View File
@@ -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();