diff --git a/guilib/src/DatabaseViewer.cpp b/guilib/src/DatabaseViewer.cpp
index 9054f6b0..34fc6092 100644
--- a/guilib/src/DatabaseViewer.cpp
+++ b/guilib/src/DatabaseViewer.cpp
@@ -2112,6 +2112,7 @@ void DatabaseViewer::updateConstraintView(
else
{
UWARN("Empty 3D words for node %d", link.from());
+ ui_->constraintsViewer->removeCloud("cloud0");
}
if(cloudTo->size())
{
@@ -2120,11 +2121,14 @@ void DatabaseViewer::updateConstraintView(
else
{
UWARN("Empty 3D words for node %d", link.to());
+ ui_->constraintsViewer->removeCloud("cloud1");
}
}
else
{
UERROR("Not found signature %d or %d in RAM", link.from(), link.to());
+ ui_->constraintsViewer->removeCloud("cloud0");
+ ui_->constraintsViewer->removeCloud("cloud1");
}
}
}
diff --git a/guilib/src/ui/preferencesDialog.ui b/guilib/src/ui/preferencesDialog.ui
index 212898b8..3d457a19 100644
--- a/guilib/src/ui/preferencesDialog.ui
+++ b/guilib/src/ui/preferencesDialog.ui
@@ -63,9 +63,9 @@
0
- -591
- 760
- 1502
+ 0
+ 755
+ 1557
@@ -86,7 +86,7 @@
QFrame::Raised
- 3
+ 19
@@ -5007,7 +5007,7 @@ If set to false, classic RTAB-Map loop closure detection is done using only imag
m
- 2
+ 3
0.100000000000000