fixed frame trail on ros indigo

This commit is contained in:
matlabbe
2018-05-30 17:24:21 -04:00
parent 230e6a311d
commit 0bf83c0cd6

View File

@@ -1548,7 +1548,7 @@ void CloudViewer::addOrUpdateCoordinate(
_visualizer->addCoordinateSystem(scale, transform.toEigen3f(), id, foreground?2:1);
#else
// Well, on older versions, just update the main coordinate
_visualizer->addCoordinateSystem(scale, transform.toEigen3f(), foreground?2:1);
_visualizer->addCoordinateSystem(scale, transform.toEigen3f(), 0);
#endif
}
}