mirror of
https://github.com/mcneel/opennurbs.git
synced 2026-03-17 23:16:02 +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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user