diff --git a/bevels/edge_bevel.py b/bevels/edge_bevel.py index b86c162..5e85943 100644 --- a/bevels/edge_bevel.py +++ b/bevels/edge_bevel.py @@ -206,8 +206,9 @@ def invoke(self, context, event): self.target_object = context.active_object - if not context.active_object.data.use_customdata_edge_bevel: - context.active_object.data.use_customdata_edge_bevel = True + if bpy.app.version < (3, 4, 0): + if not context.active_object.data.use_customdata_edge_bevel: + context.active_object.data.use_customdata_edge_bevel = True self.take_edges_snapshot(context) diff --git a/lib/overlay.py b/lib/overlay.py index acf9526..92b1cca 100644 --- a/lib/overlay.py +++ b/lib/overlay.py @@ -177,6 +177,10 @@ def draw_property(cls, property_content, metadata_content, active=False, alt_mod blf.position(0, cls.overlay_x, cls.overlay_y - ((38 * cls.dpi_scalar) + (cls.line_spacer * cls.line_step)), 0) + if bpy.app.version >= (3, 4, 0): + blf.size(0, 14, cls.dpi) + blf.position(0, cls.overlay_x, cls.overlay_y - ((31 * cls.dpi_scalar) + (cls.line_spacer * cls.line_step)), 0) + if not cls.operator_passthrough and alt_mode: blf.draw(0, "◑") else: