Disable LEFTMOUSE when input mode is on, in polyline tool.

This commit is contained in:
Bruno Perdigão
2024-12-18 16:16:08 -03:00
parent 284ec46b81
commit 8c6eddfb66
@@ -270,7 +270,7 @@ class PolylineOperator:
tool.Blender.update_viewport()
def handle_inserting_polyline(self, context, event):
if event.value == "RELEASE" and event.type == "LEFTMOUSE":
if not self.tool_state.is_input_on and event.value == "RELEASE" and event.type == "LEFTMOUSE":
result = tool.Polyline.insert_polyline_point(self.input_ui, self.tool_state)
if result:
self.report({"WARNING"}, result)