From fb6dbebb6d27bbfd6272c01169da594c09f042dc Mon Sep 17 00:00:00 2001 From: lacardonap Date: Tue, 23 Feb 2021 15:22:30 -0500 Subject: [PATCH] [fix] Always fill topology tables for all boundaries in the database because selected boundaries were deletedt --- asistente_ladm_col/gui/toolbar.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/asistente_ladm_col/gui/toolbar.py b/asistente_ladm_col/gui/toolbar.py index a93faacd7f..150da04358 100644 --- a/asistente_ladm_col/gui/toolbar.py +++ b/asistente_ladm_col/gui/toolbar.py @@ -119,10 +119,12 @@ def build_boundary(self, db): # topology tables are recalculated with the new boundaries if topology_affected_features[db.names.POINT_BFS_T]: - self.fill_topology_table_pointbfs(db, use_selection) + # it is not possible to use the features selected by the user because they have been removed + self.fill_topology_table_pointbfs(db, False) if topology_affected_features[db.names.MORE_BFS_T] + topology_affected_features[db.names.LESS_BFS_T] > 0: - self.fill_topology_tables_morebfs_less(db, use_selection) + # it is not possible to use the features selected by the user because they have been removed + self.fill_topology_tables_morebfs_less(db, False) else: self.logger.info_msg(__name__, QCoreApplication.translate("ToolBar", "There are no boundaries to build."))