diff --git a/__init__.py b/__init__.py index 0d656a0..52f1f45 100644 --- a/__init__.py +++ b/__init__.py @@ -183,6 +183,16 @@ class FONT3D_text_properties(bpy.types.PropertyGroup): default=1.0, subtype='NONE', ) + compensate_curvature: bpy.props.BoolProperty( + update=update_callback, + name="Compensate Curvature", + default=True, + ) + ignore_orientation: bpy.props.BoolProperty( + update=update_callback, + name="Ignore Orientation", + default=False, + ) distribution_type: bpy.props.StringProperty() glyphs: bpy.props.CollectionProperty(type=FONT3D_glyph_properties) @@ -453,6 +463,8 @@ class FONT3D_PT_TextPropertiesPanel(bpy.types.Panel): layout.row().prop(props, "text") layout.row().prop(props, "letter_spacing") layout.row().prop(props, "font_size") + layout.row().prop(props, "compensate_curvature") + layout.row().prop(props, "ignore_orientation") layout.column().prop(props, "translation") layout.column().prop(props, "orientation") @@ -831,6 +843,8 @@ class FONT3D_PT_RightPropertiesPanel(bpy.types.Panel): layout.row().prop(available_text, "text") layout.row().prop(available_text, "letter_spacing") layout.row().prop(available_text, "font_size") + layout.row().prop(available_text, "compensate_curvature") + layout.row().prop(available_text, "ignore_orientation") layout.column().prop(available_text, "translation") layout.column().prop(available_text, "orientation")