Sync changes from upstream repository

Co-authored-by: Andrew le Bihan <andy@mcneel.com>
Co-authored-by: Brian Gillespie <brian@mcneel.com>
Co-authored-by: Dale Lear <dalelear@mcneel.com>
Co-authored-by: Giulio Piacentino <giulio@mcneel.com>
Co-authored-by: Greg Arden <greg@mcneel.com>
Co-authored-by: Lars <lars@mcneel.com>
Co-authored-by: Lowell <lowell@mcneelcom>
Co-authored-by: Nathan Letwory <nathan@mcneel.com>
Co-authored-by: Pierre Cuvilliers <pierre@mcneel.com>
Co-authored-by: Tim Hemmelman <tim@mcneel.com>
This commit is contained in:
Bozo The Builder
2020-12-16 05:49:44 -08:00
parent 990401a8f5
commit 488533eb7a
54 changed files with 4026 additions and 898 deletions

View File

@@ -875,7 +875,7 @@ void ON_SHA1::AccumulateUnitSystem
AccumulateLengthUnitSystem(length_unit_system);
if (ON::LengthUnitSystem::CustomUnits == length_unit_system)
{
AccumulateDouble(unit_system.MetersPerUnit());
AccumulateDouble(unit_system.MetersPerUnit(ON_DBL_QNAN));
AccumulateString(unit_system.UnitSystemName());
}
}
@@ -1158,4 +1158,4 @@ bool ON_SHA1::Validate()
return false;
return true;
}
}