Skip to content

Commit

Permalink
App: fix missing transformation in Link::getTrueLinkedObject()
Browse files Browse the repository at this point in the history
  • Loading branch information
realthunder authored and wwmayer committed Mar 9, 2020
1 parent f9c081f commit d4e0719
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App/Link.cpp
Expand Up @@ -718,7 +718,7 @@ DocumentObject *LinkBaseExtension::getTrueLinkedObject(
if(!ret) return 0;
bool transform = linkTransform();
const char *subname = getSubName();
if(subname) {
if(subname || (mat && transform)) {
ret = ret->getSubObject(subname,0,mat,transform,depth+1);
transform = false;
}
Expand Down

0 comments on commit d4e0719

Please sign in to comment.