From ebef8576a61fb6f695a8d605f34923e7b44370ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Tr=C3=B6ger?= Date: Thu, 9 Feb 2017 22:19:23 +0100 Subject: [PATCH] Parent groups are irelevant, not only parent geofeaturegroups --- src/App/GeoFeatureGroupExtension.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App/GeoFeatureGroupExtension.cpp b/src/App/GeoFeatureGroupExtension.cpp index 8c9654492c..10425f6b13 100644 --- a/src/App/GeoFeatureGroupExtension.cpp +++ b/src/App/GeoFeatureGroupExtension.cpp @@ -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