mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 10:57:49 +00:00
Measure tool - allow for pan, orbit and zoom while tool is active.
This commit is contained in:
@@ -2398,7 +2398,12 @@ class MeasureTool(bpy.types.Operator, PolylineOperator):
|
||||
"""
|
||||
|
||||
def modal(self, context, event):
|
||||
super().modal(context, event)
|
||||
PolylineDecorator.update(event, self.tool_state, self.input_ui, self.snapping_points[0])
|
||||
tool.Blender.update_viewport()
|
||||
|
||||
if event.type in {"MIDDLEMOUSE", "WHEELUPMOUSE", "WHEELDOWNMOUSE"}:
|
||||
self.handle_mouse_move(context, event)
|
||||
return {"PASS_THROUGH"}
|
||||
|
||||
self.handle_instructions(context)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user