mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +08:00
DbViewer: fixed scan disappearing after editing constraint
This commit is contained in:
@@ -5334,8 +5334,8 @@ void DatabaseViewer::editConstraint()
|
||||
linksRefined_.insert(std::make_pair(newLink.from(), newLink));
|
||||
updated = true;
|
||||
}
|
||||
if(updated)
|
||||
if(updated)
|
||||
{
|
||||
this->updateGraphView();
|
||||
updateConstraintView();
|
||||
}
|
||||
@@ -5366,8 +5366,8 @@ void DatabaseViewer::editConstraint()
|
||||
if(newLink.from() < newLink.to())
|
||||
{
|
||||
newLink = newLink.inverse();
|
||||
}
|
||||
}
|
||||
linksAdded_.insert(std::make_pair(newLink.from(), newLink));
|
||||
this->updateGraphView();
|
||||
updateLoopClosuresSlider(from, to);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user