From 65c6083670d437428856d25150f11cd904b596bc Mon Sep 17 00:00:00 2001 From: "lukasz.debek" Date: Wed, 28 Feb 2024 14:28:49 +0100 Subject: [PATCH] Implementing manhole bottom level calculation algorithm (#209). --- threedi_schematisation_editor/processing/algorithms_edits.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/threedi_schematisation_editor/processing/algorithms_edits.py b/threedi_schematisation_editor/processing/algorithms_edits.py index 3753f89..36ed393 100644 --- a/threedi_schematisation_editor/processing/algorithms_edits.py +++ b/threedi_schematisation_editor/processing/algorithms_edits.py @@ -96,7 +96,9 @@ def processAlgorithm(self, parameters, context, feedback): invert_level_end_point = pipe_feat["invert_level_end_point"] if invert_level_start_point != NULL: node_adjacent_invert_levels[pipe_start_node_id].add(invert_level_start_point) + node_adjacent_invert_levels[pipe_end_node_id].add(invert_level_start_point) if invert_level_end_point != NULL: + node_adjacent_invert_levels[pipe_start_node_id].add(invert_level_end_point) node_adjacent_invert_levels[pipe_end_node_id].add(invert_level_end_point) bottom_level_changes = {} for manhole_feat in manhole_lyr.getFeatures(request):