From 363b6b007522e43b7801d0bedfa733a12f62e4a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20Kl=C3=BCnder?= Date: Sun, 29 Dec 2024 16:43:59 +0100 Subject: [PATCH] no restrictions for get_point_and_space in locator --- src/c3nav/routing/locator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c3nav/routing/locator.py b/src/c3nav/routing/locator.py index 2cff0528..9a95f422 100644 --- a/src/c3nav/routing/locator.py +++ b/src/c3nav/routing/locator.py @@ -279,7 +279,7 @@ class Locator: point = Point(x/100, y/100) new_space, new_point = self.placement_helper.get_point_and_space( - level_id=level.pk, point=point, restrictions=restrictions, + level_id=level.pk, point=point, max_space_distance=20, )