Small fix in TAB behavior for measure and polyline tool

This commit is contained in:
Bruno Perdigão
2024-08-22 15:55:05 -03:00
parent f0338ffdda
commit 301cb4bbdc
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -398,7 +398,7 @@ class DrawPolylineWall(bpy.types.Operator):
if not self.is_input_on and event.value == "RELEASE" and event.type == "TAB":
self.recalculate_inputs(context)
self.is_input_on = True
self.input_type = "X"
self.input_type = "D"
self.number_input = []
PolylineDecorator.set_input_panel(self.input_panel, self.input_type)
tool.Blender.update_viewport()
@@ -2382,7 +2382,7 @@ class MeasureTool(bpy.types.Operator):
if not self.is_input_on and event.value == "RELEASE" and event.type == "TAB":
self.recalculate_inputs(context)
self.is_input_on = True
self.input_type = "X"
self.input_type = "D"
self.number_input = []
PolylineDecorator.set_input_panel(self.input_panel, self.input_type)
tool.Blender.update_viewport()