From a600032428cacc663cea480744ad231995df016e Mon Sep 17 00:00:00 2001 From: matlabbe Date: Thu, 2 Oct 2014 20:12:43 +0000 Subject: [PATCH] MapCloud: fixed downloaded clouds visible all on the same point, they now not visible until a loop closure is found with the previous map git-svn-id: http://rtabmap.googlecode.com/svn/trunk/ros-pkg@1827 f169173b-cf89-36c8-b27e-44dbe73f0c83 --- src/rviz/MapCloudDisplay.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rviz/MapCloudDisplay.cpp b/src/rviz/MapCloudDisplay.cpp index a6b9f48f..e55686a4 100644 --- a/src/rviz/MapCloudDisplay.cpp +++ b/src/rviz/MapCloudDisplay.cpp @@ -651,6 +651,7 @@ void MapCloudDisplay::update( float wall_dt, float ros_dt ) cloud_info->scene_node_ = scene_node_->createChildSceneNode(); cloud_info->scene_node_->attachObject( cloud_info->cloud_.get() ); + cloud_info->scene_node_->setVisible(false); cloud_infos_.insert(*it); }