From a992844e93076eadab03c3c13727131c228d3ac0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Perdig=C3=A3o?= Date: Fri, 13 Sep 2024 13:50:27 -0300 Subject: [PATCH] Fix enter to trigger wall preview --- src/bonsai/bonsai/bim/module/model/wall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bonsai/bonsai/bim/module/model/wall.py b/src/bonsai/bonsai/bim/module/model/wall.py index e91a9d1216..3638ffe67a 100644 --- a/src/bonsai/bonsai/bim/module/model/wall.py +++ b/src/bonsai/bonsai/bim/module/model/wall.py @@ -352,7 +352,7 @@ class DrawPolylineWall(bpy.types.Operator, PolylineOperator): self.handle_inserting_polyline(context, event) - if event.type in {"LEFTMOUSE", "RIGHTMOUSE", "ENTER", "NUMPAD_ENTER", "BACK_SPACE"}: + if event.type in {"LEFTMOUSE", "RIGHTMOUSE", "RET", "NUMPAD_ENTER", "BACK_SPACE"}: tool.Polyline.create_wall_preview_vertices(context, self.relating_type) cancel = self.handle_cancelation(context, event)