Sync changes from upstream repository

Co-authored-by: Andrew Le Bihan <andy@mcneel.com>
Co-authored-by: Dale Lear <dalelear@mcneel.com>
Co-authored-by: Greg Arden <greg@mcneel.com>
Co-authored-by: Jussi Aaltonen <jussi@mcneel.com>
Co-authored-by: Lowell <lowell@mcneelcom>
Co-authored-by: Tim Hemmelman <tim@mcneel.com>
Co-authored-by: piac <giulio@mcneel.com>
This commit is contained in:
Bozo The Builder
2020-05-03 10:07:05 -07:00
parent a59f3b7565
commit 044356876d
38 changed files with 2987 additions and 482 deletions

View File

@@ -191,8 +191,7 @@ unsigned int ON_SubDimple::ClearLowerSubdivisionLevels(
for (ON_SubDFace* face = level->m_face[0]; nullptr != face; face = const_cast<ON_SubDFace*>(face->m_next_face))
{
face->SetSubdivisionLevel(new_level_index);
face->m_parent_face_id = 0;
face->m_zero_face_id = face->m_id;
face->m_level_zero_face_id = face->m_id;
}
m_levels[new_level_index] = level;
@@ -445,13 +444,18 @@ bool ON_SubDAggregates::GetTopologicalAttributes(const ON_SubDLevel * level, boo
return GetTopologicalAttributes(bIsManifold, bIsOriented, bHasBoundary, solid_orientation);
}
ON_AggregateComponentStatus ON_SubDLevel::AggregateComponentStatus() const
const ON_AggregateComponentStatusEx ON_SubDLevel::AggregateComponentStatus() const
{
if (false == m_aggregates.m_aggregate_status.IsCurrent())
m_aggregates.UpdateAggregateComponentStatus(this);
return m_aggregates.m_aggregate_status;
}
ON__UINT64 ON_SubDLevel::ComponentStatusSerialNumber() const
{
return m_aggregates.m_aggregate_status.ComponentStatusSerialNumber();
}
void ON_SubDAggregates::UpdateAggregateEdgeAttributes(
const ON_SubDLevel* level
)