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:
Bozo The Builder
2023-02-23 16:10:31 -08:00
parent e88525df92
commit 6c3cec9905
50 changed files with 3748 additions and 1022 deletions

View File

@@ -294,6 +294,14 @@ static ON__UINT64 ON_ModelComponentContentVersionNumberOne(
return (runtime_serial_number*0x100000000ULL | s);
}
ON_ModelComponent::ON_ModelComponent
(
ON__UINT64 runtime_serial_number
) ON_NOEXCEPT
: m_runtime_serial_number(runtime_serial_number)
, m_content_version_number(ON_ModelComponentContentVersionNumberOne(m_runtime_serial_number))
{}
ON_ModelComponent::ON_ModelComponent() ON_NOEXCEPT
: m_runtime_serial_number(++ON_ModelComponent::Internal_RuntimeSerialNumberGenerator)
, m_content_version_number(ON_ModelComponentContentVersionNumberOne(m_runtime_serial_number))