Create special scope properties

This commit is contained in:
Stefan Tröger
2017-07-20 20:08:28 +02:00
committed by wmayer
parent 7d1560443c
commit d5633c37bf
4 changed files with 139 additions and 65 deletions

View File

@@ -360,7 +360,7 @@ bool GeoFeatureGroupExtension::areLinksValid(DocumentObject* obj) {
//for links with scope SubGroup we need to check if all features are part of subgroups
if(group) {
result = getScopedObjectsFromLinks(obj, LinkScope::SubGroup);
result = getScopedObjectsFromLinks(obj, LinkScope::Child);
auto groupExt = group->getExtensionByType<App::GeoFeatureGroupExtension>();
for(auto link : result) {
if(!groupExt->hasObject(link, true))