mirror of
https://github.com/mcneel/opennurbs.git
synced 2026-03-13 03:45:51 +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:
@@ -694,6 +694,12 @@ ON_ModelComponent::ON_ModelComponent(
|
||||
}
|
||||
}
|
||||
|
||||
ON__UINT64 ON_ModelComponent::NextRuntimeSerialNumber()
|
||||
{
|
||||
const ON__UINT64 last_runtime_serial_number(ON_ModelComponent::Internal_RuntimeSerialNumberGenerator);
|
||||
return (last_runtime_serial_number + 1);
|
||||
}
|
||||
|
||||
ON__UINT64 ON_ModelComponent::RuntimeSerialNumber() const
|
||||
{
|
||||
return m_runtime_serial_number;
|
||||
|
||||
Reference in New Issue
Block a user