diff --git a/src/App/Link.cpp b/src/App/Link.cpp index da7907744a..da71db9768 100644 --- a/src/App/Link.cpp +++ b/src/App/Link.cpp @@ -523,7 +523,7 @@ bool LinkBaseExtension::extensionGetSubObject(DocumentObject *&ret, const char * auto obj = getContainer(); if(!subname || !subname[0]) { ret = const_cast(obj); - if(!_getElementListProperty() && !_getElementCountValue() && pyObj) { + if(pyObj && !_getElementCountValue() && _getElementListValue().empty()) { Base::Matrix4D matNext; if(mat) matNext = *mat; auto linked = getTrueLinkedObject(false,mat?&matNext:0,depth);