mirror of
https://github.com/mcneel/opennurbs.git
synced 2026-03-09 17:39:38 +08:00
Sync changes from upstream repository
Co-authored-by: Andrew Le Bihan <andy@mcneel.com> Co-authored-by: chuck <chuck@mcneel.com> Co-authored-by: Dale Fugier <dale@mcneel.com> Co-authored-by: Dale Lear <dalelear@mcneel.com> Co-authored-by: David Eränen <david.eranen@mcneel.com> Co-authored-by: Greg Arden <greg@mcneel.com> Co-authored-by: John Croudy <john.croudy@mcneel.com> Co-authored-by: Lowell Walmsley <lowell@mcneel.com> Co-authored-by: Nathan Letwory <nathan@mcneel.com> Co-authored-by: piac <giulio@mcneel.com> Co-authored-by: Steve Baer <steve@mcneel.com> Co-authored-by: Tim Hemmelman <tim@mcneel.com>
This commit is contained in:
@@ -392,6 +392,14 @@ bool ON_ComponentStatus::RuntimeMark() const
|
||||
|
||||
}
|
||||
|
||||
bool ON_ComponentStatus::IsMarked(
|
||||
ON__UINT8 mark_bits
|
||||
) const
|
||||
{
|
||||
return (0 == mark_bits) ? (0 != (m_status_flags & RUNTIME_MARK_BIT)) : (mark_bits == m_mark_bits);
|
||||
}
|
||||
|
||||
|
||||
bool ON_ComponentStatus::SetRuntimeMark(
|
||||
bool bRuntimeMark
|
||||
)
|
||||
@@ -421,6 +429,18 @@ bool ON_ComponentStatus::ClearRuntimeMark()
|
||||
return false;
|
||||
}
|
||||
|
||||
ON__UINT8 ON_ComponentStatus::MarkBits() const
|
||||
{
|
||||
return m_mark_bits;
|
||||
}
|
||||
|
||||
ON__UINT8 ON_ComponentStatus::SetMarkBits(ON__UINT8 bits)
|
||||
{
|
||||
const ON__UINT8 rc = m_mark_bits;
|
||||
m_mark_bits = bits;
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
||||
unsigned int ON_ComponentStatus::SetHiddenState(
|
||||
bool bIsHidden
|
||||
|
||||
Reference in New Issue
Block a user