mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 17:40:23 +08:00
Fixed cloud -1 not found on export, fixed cloud visibility doing nothing to cloud -1
This commit is contained in:
@@ -115,7 +115,7 @@ std::map<int, Transform> MapVisibilityWidget::getVisiblePoses() const
|
||||
std::map<int, Transform> poses;
|
||||
for(std::map<int, Transform>::const_iterator iter=_poses.begin(); iter!=_poses.end(); ++iter)
|
||||
{
|
||||
if(_mask.at(iter->first))
|
||||
if(_mask.at(iter->first) && iter->first > 0)
|
||||
{
|
||||
poses.insert(*iter);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user