Fix enter to trigger wall preview

This commit is contained in:
Bruno Perdigão
2024-09-13 13:50:27 -03:00
parent 59b665758d
commit a992844e93
+1 -1
View File
@@ -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)