mirror of
https://github.com/mcneel/opennurbs.git
synced 2026-03-18 07:26:06 +08:00
Sync changes from upstream repository
Co-authored-by: Andrew Le Bihan <andy@mcneel.com> Co-authored-by: croudyj <croudyj@gmail.com> Co-authored-by: Dale Lear <dalelear@mcneel.com> Co-authored-by: David Eränen <david.eranen@mcneel.com> Co-authored-by: Giulio Piacentino <giulio@mcneel.com> Co-authored-by: Greg Arden <greg@mcneel.com> Co-authored-by: Jussi Aaltonen <jussi@mcneel.com> Co-authored-by: kike-garbo <kike@mcneel.com> Co-authored-by: Mikko Oksanen <mikko@mcneel.com> Co-authored-by: Pierre Cuvilliers <pierre@mcneel.com> Co-authored-by: sodermax <max.soderstrom@mcneel.com> Co-authored-by: steve <steve@mcneel.com> Co-authored-by: Steve Baer <steve@mcneel.com> Co-authored-by: Will Pearson <will@mcneel.com>
This commit is contained in:
@@ -265,6 +265,10 @@ unsigned int ON_ComponentStatus::ClearStates(
|
||||
s1 &= mask;
|
||||
if (s1 != (m_status_flags & ALL_MASK))
|
||||
{
|
||||
// 29 Dec 2022, Mikko, RH-71974:
|
||||
// This is wrong, selected and highlighted are separate states. A thing can be not selected but
|
||||
// still highlighted.
|
||||
/*
|
||||
// If input was selected and highlighted,
|
||||
// and output is not selected,
|
||||
// and hightlight and not explictily cleared,
|
||||
@@ -280,6 +284,7 @@ unsigned int ON_ComponentStatus::ClearStates(
|
||||
// Clear highlight automatically.
|
||||
s1 &= ~HIGHLIGHTED_BIT;
|
||||
}
|
||||
*/
|
||||
|
||||
// preserve value of runtime mark bit on m_status_flags
|
||||
const unsigned char mark = (m_status_flags&RUNTIME_MARK_BIT);
|
||||
|
||||
Reference in New Issue
Block a user