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:
Bozo The Builder
2023-02-23 16:10:31 -08:00
parent e88525df92
commit 6c3cec9905
50 changed files with 3748 additions and 1022 deletions

View File

@@ -1091,9 +1091,12 @@ bool ON_InstanceDefinition::IsLinkedType() const
{
switch (InstanceDefinitionType())
{
case ON_InstanceDefinition::IDEF_UPDATE_TYPE::LinkedAndEmbedded:
case ON_InstanceDefinition::IDEF_UPDATE_TYPE::Linked:
return true;
case ON_InstanceDefinition::IDEF_UPDATE_TYPE::LinkedAndEmbedded:
case ON_InstanceDefinition::IDEF_UPDATE_TYPE::Linked:
return true;
case ON_InstanceDefinition::IDEF_UPDATE_TYPE::Static:
case ON_InstanceDefinition::IDEF_UPDATE_TYPE::Unset:
return false;
}
return false;
}