Gui: fix ViewProviderLink::getElementPicked() when linked to group

This commit is contained in:
Zheng, Lei
2019-10-15 10:22:52 +08:00
committed by wmayer
parent 7f7a573ace
commit bb69daf18e

View File

@@ -2250,7 +2250,7 @@ bool ViewProviderLink::getElementPicked(const SoPickedPoint *pp, std::string &su
bool ret = linkView->linkGetElementPicked(pp,subname);
if(!ret)
return ret;
if(isGroup(ext)) {
if(isGroup(ext,true)) {
const char *sub = 0;
int idx = App::LinkBaseExtension::getArrayIndex(subname.c_str(),&sub);
if(idx>=0 ) {