Actually highlight preselected objects upon the selectionchange event, otherwise it only triggers on mousemove event
This commit is contained in:
committed by
Yorik van Havre
parent
7ecc9cfb21
commit
7da48b3307
@@ -643,7 +643,8 @@ void View3DInventorViewer::OnChange(Gui::SelectionSingleton::SubjectType& rCalle
|
||||
SoFCSelectionAction cAct(Reason);
|
||||
cAct.apply(pcViewProviderRoot);
|
||||
}
|
||||
else if (Reason.Type == SelectionChanges::RmvPreselect) {
|
||||
else if (Reason.Type == SelectionChanges::RmvPreselect ||
|
||||
Reason.Type == SelectionChanges::SetPreselect) {
|
||||
SoFCHighlightAction cAct(Reason);
|
||||
cAct.apply(pcViewProviderRoot);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user