Skip to content

Commit

Permalink
Merge branch 'main' into pc_app
Browse files Browse the repository at this point in the history
  • Loading branch information
chennes committed Jun 2, 2024
2 parents 7d4e458 + 77fc1de commit ffc99a5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
8 changes: 0 additions & 8 deletions src/App/GeoFeature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -297,12 +297,4 @@ std::vector<const char*> GeoFeature::getElementTypes(bool /*all*/) const
return prop->getComplexData()->getElementTypes();
}

std::vector<Data::IndexedName> GeoFeature::getHigherElements(const char* element, bool silent) const
{
auto prop = getPropertyOfGeometry();
if (!prop) {
return {};
}
return prop->getComplexData()->getHigherElements(element, silent);
}
#endif
4 changes: 0 additions & 4 deletions src/App/GeoFeature.h
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,6 @@ class AppExport GeoFeature: public App::DocumentObject

virtual std::vector<const char*> getElementTypes(bool all = true) const;

/// Return the higher level element names of the given element
virtual std::vector<Data::IndexedName> getHigherElements(const char* name,
bool silent = false) const;

protected:
void onChanged(const Property* prop) override;
// void onDocumentRestored() override;
Expand Down

0 comments on commit ffc99a5

Please sign in to comment.