mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 17:40:23 +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();
|
Transform mapToScan = iter->second * scan.localTransform();
|
||||||
|
|
||||||
@@ -2872,6 +2872,7 @@ void DatabaseViewer::editSaved2DMap()
|
|||||||
modifiedLaserScans_.clear();
|
modifiedLaserScans_.clear();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
update3dView();
|
update3dView();
|
||||||
updateGraphView();
|
updateGraphView();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user