From 5a5dd7883ca04e8302bd201a1abf108f21798fb2 Mon Sep 17 00:00:00 2001 From: Tristan Strathearn Date: Fri, 1 Jul 2022 18:50:51 +1000 Subject: [PATCH] fix: set width lower limit to zero on WN bevel operator --- bevels/weighted_normal_bevel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bevels/weighted_normal_bevel.py b/bevels/weighted_normal_bevel.py index cf4783a..16dac1c 100644 --- a/bevels/weighted_normal_bevel.py +++ b/bevels/weighted_normal_bevel.py @@ -95,7 +95,7 @@ def modal(self, context, event): elif self.key_step_down: if no_stream(self.width_input_stream) and self.key_no_modifiers: - self.width = max(0.0001, self.width - width_factor) + self.width = max(0, self.width - width_factor) self.dirty = True elif self.key_confirm: @@ -108,7 +108,7 @@ def modal(self, context, event): if get_preferences().enable_mouse_values: if no_stream(self.width_input_stream) and self.key_no_modifiers: - self.width = max(0.0001, self.width + self.mouse_value) + self.width = max(0, self.width + self.mouse_value) self.dirty = True if self.dirty: