mirror of
https://github.com/mcneel/opennurbs.git
synced 2026-03-04 22:19:42 +08:00
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:
@@ -737,7 +737,7 @@ double ON_LengthValue::Length(
|
||||
if ( ON::LengthUnitSystem::None == context_unit_system.UnitSystem())
|
||||
return m_length;
|
||||
if (
|
||||
m_length_unit_system.MetersPerUnit() == context_unit_system.MetersPerUnit()
|
||||
m_length_unit_system.MetersPerUnit(ON_DBL_QNAN) == context_unit_system.MetersPerUnit(ON_DBL_QNAN)
|
||||
&& ON::LengthUnitSystem::Unset != context_unit_system.UnitSystem()
|
||||
)
|
||||
return m_length;
|
||||
|
||||
Reference in New Issue
Block a user