Sync changes from upstream repository

Co-authored-by: croudyj <croudyj@gmail.com>
Co-authored-by: Dale Fugier <dale@mcneel.com>
Co-authored-by: Dan Rigdon-Bel <dan@mcneel.com>
Co-authored-by: kike-garbo <kike@mcneel.com>
Co-authored-by: piac <giulio@mcneel.com>
Co-authored-by: Pierre Cuvilliers <pierre@mcneel.com>
This commit is contained in:
Bozo The Builder
2022-08-12 10:22:45 -07:00
parent e68e534842
commit 679770e15c
29 changed files with 608 additions and 294 deletions

View File

@@ -944,7 +944,7 @@ const ON_wString ON_ModelComponent::DeletedName() const
const wchar_t* ON_ModelComponent::NameAsPointer() const
{
return static_cast<const wchar_t*>(Name());
return NameIsSet() ? m_component_name : ON_wString::EmptyString;
}
const ON_wString ON_ModelComponent::RemoveAllReferencePrefixDelimiters(