Sync changes from upstream repository

Co-authored-by: David Eränen <david.eranen@mcneel.com>
Co-authored-by: piac <giulio@mcneel.com>
Co-authored-by: Steve Baer <steve@mcneel.com>
This commit is contained in:
Bozo The Builder
2023-02-27 12:29:30 -08:00
parent 383611e2f5
commit 60f8f82f2f
130 changed files with 1267 additions and 1186 deletions

View File

@@ -613,6 +613,8 @@ bool ON_TextContent::Create(
h_align = dimstyle->LeaderTextHorizontalAlignment();
v_align = ON::TextVerticalAlignment::MiddleOfTop; //dimstyle->LeaderTextVerticalAlignment();
break;
default:
break;
}
// Parse string, create runs, find font, set plane & height
@@ -1782,6 +1784,8 @@ ON::AnnotationType ON_TextContent::Internal_AlignmentAnnotationType(
case ON::AnnotationType::Diameter:
case ON::AnnotationType::Radius:
return annotation_type;
default:
break;
}
return ON::AnnotationType::Unset;
}