What version are you using? I use same code in v6.6 and it works fine. Are you using a OCC example? Does the selection get highlighted when you move the mouse?
Archived discussion
MoreSelected() doesn't return anything
Hello,
I am trying to select a face, and apparently when using MoreSelected(),always says nothing is selected...
Why is this?
myContext->CloseAllContexts();
myContext->OpenLocalContext();
myContext->ActivateStandardMode (TopAbs_FACE);
myContext->InitSelected();
if (myContext->MoreSelected()) {
qDebug()
} else {
qDebug()
}
Discussion
2 archived replies
Posts are displayed in their archived order.
Hi Billy,
I'm using 6.6 qt5 and selection does get highlighted when hovered