mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 22:50:21 +00:00
Minor fix after 10aad5a531
This commit is contained in:
@@ -173,7 +173,7 @@ class PolylineOperator:
|
|||||||
context.workspace.status_text_set(self.instructions + custom_instructions + self.snap_info)
|
context.workspace.status_text_set(self.instructions + custom_instructions + self.snap_info)
|
||||||
|
|
||||||
def handle_lock_axis(self, context, event):
|
def handle_lock_axis(self, context, event):
|
||||||
if event.value == "PRESS" and event.type in {"L", "A"}:
|
if event.value == "PRESS" and event.type == "A":
|
||||||
self.tool_state.lock_axis = False if self.tool_state.lock_axis else True
|
self.tool_state.lock_axis = False if self.tool_state.lock_axis else True
|
||||||
self.tool_state.snap_angle = self.input_ui.get_number_value("WORLD_ANGLE")
|
self.tool_state.snap_angle = self.input_ui.get_number_value("WORLD_ANGLE")
|
||||||
# Round to the closest 5
|
# Round to the closest 5
|
||||||
|
|||||||
Reference in New Issue
Block a user