mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-10-01 04:29:38 +00:00
Small fix in TAB behavior for measure and polyline tool
This commit is contained in:
@@ -398,7 +398,7 @@ class DrawPolylineWall(bpy.types.Operator):
|
|||||||
if not self.is_input_on and event.value == "RELEASE" and event.type == "TAB":
|
if not self.is_input_on and event.value == "RELEASE" and event.type == "TAB":
|
||||||
self.recalculate_inputs(context)
|
self.recalculate_inputs(context)
|
||||||
self.is_input_on = True
|
self.is_input_on = True
|
||||||
self.input_type = "X"
|
self.input_type = "D"
|
||||||
self.number_input = []
|
self.number_input = []
|
||||||
PolylineDecorator.set_input_panel(self.input_panel, self.input_type)
|
PolylineDecorator.set_input_panel(self.input_panel, self.input_type)
|
||||||
tool.Blender.update_viewport()
|
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":
|
if not self.is_input_on and event.value == "RELEASE" and event.type == "TAB":
|
||||||
self.recalculate_inputs(context)
|
self.recalculate_inputs(context)
|
||||||
self.is_input_on = True
|
self.is_input_on = True
|
||||||
self.input_type = "X"
|
self.input_type = "D"
|
||||||
self.number_input = []
|
self.number_input = []
|
||||||
PolylineDecorator.set_input_panel(self.input_panel, self.input_type)
|
PolylineDecorator.set_input_panel(self.input_panel, self.input_type)
|
||||||
tool.Blender.update_viewport()
|
tool.Blender.update_viewport()
|
||||||
|
|||||||
Reference in New Issue
Block a user