App::Link: fix crash with Draft Array (#16240)
* App::Link: fix crash with Draft Array
This commit is contained in:
@@ -1394,7 +1394,12 @@ bool LinkView::linkGetElementPicked(const SoPickedPoint *pp, std::string &subnam
|
||||
}
|
||||
|
||||
auto &info = *nodeArray[nodeIdx];
|
||||
ss << info.linkInfo->getLinkedName() << '.';
|
||||
if (!info.linkInfo) {
|
||||
ss << it->second << '.';
|
||||
}
|
||||
else {
|
||||
ss << info.linkInfo->getLinkedName() << '.';
|
||||
}
|
||||
|
||||
if(info.isLinked()) {
|
||||
if (!info.linkInfo->getElementPicked(false, childType, pp, ss)) {
|
||||
|
||||
Reference in New Issue
Block a user