Parent groups are irelevant, not only parent geofeaturegroups

This commit is contained in:
Stefan Tröger
2017-02-09 22:19:23 +01:00
committed by wmayer
parent 601d9bd8e3
commit ebef8576a6

View File

@@ -229,8 +229,8 @@ std::vector< DocumentObject* > GeoFeatureGroupExtension::getCSInList(DocumentObj
//search the inlist for objects that have non-expression links to us
for(App::DocumentObject* parent : obj->getInList()) {
//not interested in other groups
if(parent->hasExtension(App::GeoFeatureGroupExtension::getExtensionClassTypeId()))
//not interested in other groups (and here we mean all groups, normal ones and geofeaturegroup)
if(parent->hasExtension(App::GroupExtension::getExtensionClassTypeId()))
continue;
//check if the link is real or if it is a expression one (could also be both, so it is not