mirror of
https://github.com/mcneel/opennurbs.git
synced 2026-03-22 10:29:29 +08:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user