Skip to content

Commit

Permalink
Gui: fix ViewProviderLink::getElementPicked() when linked to group
Browse files Browse the repository at this point in the history
  • Loading branch information
realthunder authored and wwmayer committed Nov 21, 2019
1 parent 1ec6701 commit 9ee436f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Gui/ViewProviderLink.cpp
Expand Up @@ -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 ) {
Expand Down

0 comments on commit 9ee436f

Please sign in to comment.