Actually highlight preselected objects upon the selectionchange event, otherwise it only triggers on mousemove event

This commit is contained in:
Dion Moult
2019-02-23 22:27:33 +11:00
committed by Yorik van Havre
parent 7ecc9cfb21
commit 7da48b3307
2 changed files with 18 additions and 1 deletions

View File

@@ -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);
}