MantisBT
Mantis Bug Tracker Workflow

occt: master 8d2c79f4 Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
nds bugmaster master 2019-06-06 08:50:21 master fc552d84
Affected Issues 0030726: Visualization - change Selected state of owner within AIS_Selection instead of AIS_InteractiveContext
Changeset 0030726: Visualization - change Selected state of owner in AIS_Selection

AIS_InteractiveContext::IsHilighted() behavior has been changed.
It should use the same logic for owner processing like when it is highlighted. IsSelected of owner is used for selection state, not highlight.

 Without this correction, object is never shown as selected by click (Select(bool)):
 if (!HighlightStyle (theOwner, aCustomStyle) ||
    (!aCustomStyle.IsNull() && aCustomStyle != anObjSelStyle))

 IsSelected is already true, so the highlight style is equal to selection style, nothing to do.
mod - src/AIS/AIS_InteractiveContext.cxx Diff ] File ]
mod - src/AIS/AIS_InteractiveContext_1.cxx Diff ] File ]
mod - src/AIS/AIS_Selection.cxx Diff ] File ]


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker