+ correctly handle toggle selection in BRep shape nodes

This commit is contained in:
wmayer
2015-11-28 16:21:20 +01:00
parent e28ca0847a
commit 96611d0a71
4 changed files with 10 additions and 7 deletions

View File

@@ -256,7 +256,8 @@ void SoBrepPointSet::doAction(SoAction* action)
case Gui::SoSelectionElementAction::Remove:
{
int start = this->selectionIndex.find(index);
this->selectionIndex.deleteValues(start,1);
if (start >= 0)
this->selectionIndex.deleteValues(start,1);
}
break;
default: