mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +08:00
DBViewer: fixed Yes vs YesToAll after editing 2d occupancy grid
This commit is contained in:
@@ -2790,7 +2790,7 @@ void DatabaseViewer::editSaved2DMap()
|
||||
}
|
||||
}
|
||||
|
||||
if(!scan.isEmpty())
|
||||
if(b == QMessageBox::YesToAll && !scan.isEmpty())
|
||||
{
|
||||
Transform mapToScan = iter->second * scan.localTransform();
|
||||
|
||||
@@ -2872,6 +2872,7 @@ void DatabaseViewer::editSaved2DMap()
|
||||
modifiedLaserScans_.clear();
|
||||
}
|
||||
else
|
||||
{
|
||||
update3dView();
|
||||
updateGraphView();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user