+ correctly handle toggle selection in BRep shape nodes
This commit is contained in:
@@ -321,7 +321,8 @@ void SoBrepEdgeSet::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:
|
||||
|
||||
Reference in New Issue
Block a user