Sync changes from upstream repository

This commit is contained in:
Bozo the Builder
2024-10-09 06:42:31 -07:00
parent 285c43ce2b
commit 26f90e169e
22 changed files with 896 additions and 265 deletions

View File

@@ -367,8 +367,13 @@ static void EnsureNameValid(ON_wString& name)
name += c;
}
// Also disallow ':' inside the name.
name.Replace(':', ' ');
// 2024-08-27 : kike@mcneel.com
// `ON_ModelComponent::IsValidComponentName` allows ':'.
// The hole point of https://mcneel.myjetbrains.com/youtrack/issue/RH-78603
// is to ensure all type names has same restrictions.
//
//// Also disallow ':' inside the name.
//name.Replace(':', ' ');
name.TrimLeftAndRight();
}