Make georeferencing decorator use soft limits. Don't scale font.

This commit is contained in:
Dion Moult
2025-01-20 23:48:51 +11:00
parent 3ffc0bc39c
commit c5fe80db7b
2 changed files with 6 additions and 3 deletions
@@ -78,8 +78,7 @@ class GeoreferenceDecorator:
self.addon_prefs = tool.Blender.get_addon_preferences()
self.font_id = 0
font_size = tool.Blender.scale_font_size(12 + (self.scale / 20))
blf.size(self.font_id, font_size)
blf.size(self.font_id, 12)
color = self.addon_prefs.decorations_colour
blf.color(self.font_id, *color)
blf.enable(self.font_id, blf.SHADOW)
@@ -206,7 +206,11 @@ class BIMGeoreferenceProperties(PropertyGroup):
update=update_should_visualise,
)
visualization_scale: FloatProperty(
name="Visualization Scale", description="Affects the georeference decorator size", default=1, min=0.1, max=50
name="Visualization Scale",
description="Affects the georeference decorator size",
default=1,
soft_min=0.1,
soft_max=50,
)
grid_north_angle: StringProperty(name="Grid North Angle", update=update_grid_north_angle)
x_axis_abscissa: StringProperty(name="X Axis Abscissa", update=update_grid_north_vector)