Fix miscalculated stair lengths in some cases (f52aafd)

`get_active_stair_calculated_params` wasn't updated when zero tread runs support was added and it's still was relying on a convention that `0.0` custom tread run = no custom tread run.
This commit is contained in:
Andrej730
2025-11-05 19:37:24 +05:00
parent 0c171a457b
commit 3bed9262e5
2 changed files with 18 additions and 12 deletions
+1 -1
View File
@@ -160,7 +160,7 @@ class TestStairCalculatedParams(NewFile):
"number_of_treads": 3,
"height": 1.0,
"tread_run": 0.3,
"custom_first_last_tread_run": (0.0, 0.0),
"custom_first_last_tread_run": (None, None),
"nosing_length": 0.0,
}
calculated_data_base = {