mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 16:57:46 +08:00
MainWindow: Fixed clouds shown (and should not) after refreshing map with grid from projection enabled and cloud map visualization unchecked
This commit is contained in:
@@ -1874,6 +1874,7 @@ void MainWindow::updateMapCloud(
|
|||||||
else if(_cachedSignatures.contains(iter->first))
|
else if(_cachedSignatures.contains(iter->first))
|
||||||
{
|
{
|
||||||
this->createAndAddCloudToMap(iter->first, iter->second, uValue(mapIds, iter->first, -1));
|
this->createAndAddCloudToMap(iter->first, iter->second, uValue(mapIds, iter->first, -1));
|
||||||
|
_cloudViewer->setCloudVisibility(cloudName.c_str(), _cloudViewer->isVisible() && _preferencesDialog->isCloudsShown(0));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(viewerClouds.contains(cloudName))
|
else if(viewerClouds.contains(cloudName))
|
||||||
|
|||||||
Reference in New Issue
Block a user