mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
handle_snap_selection - disable in input mode
As it's used in mouse mode and in input mode it just recalculates the values.
This commit is contained in:
@@ -305,7 +305,7 @@ class PolylineOperator:
|
||||
tool.Blender.update_viewport()
|
||||
|
||||
def handle_snap_selection(self, context: bpy.types.Context, event: bpy.types.Event) -> None:
|
||||
if event.value == "PRESS" and event.type == "M":
|
||||
if not self.tool_state.is_input_on and event.value == "PRESS" and event.type == "M":
|
||||
self.snapping_points = tool.Snap.modify_snapping_point_selection(
|
||||
self.snapping_points, lock_axis=self.tool_state.lock_axis
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user