mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +08:00
Increased database version to 0.8.11 (new Depth.data2d_max_pts column). Updated how local loop closure detection in space is done. Update GraphViewer with local radius ellipse and current goal node color. MainWindow saving/loading figures automatically accordingly to the previous session saved.
This commit is contained in:
@@ -529,22 +529,14 @@ void ImageView::updateOpacity()
|
||||
if(_imageItem->isVisible() && _imageDepthItem->isVisible())
|
||||
{
|
||||
QGraphicsOpacityEffect * effect = new QGraphicsOpacityEffect();
|
||||
QGraphicsOpacityEffect * effect2 = new QGraphicsOpacityEffect();
|
||||
effect->setOpacity(0.5);
|
||||
effect2->setOpacity(0.5);
|
||||
_imageItem->setGraphicsEffect(effect);
|
||||
_imageDepthItem->setGraphicsEffect(effect2);
|
||||
_imageDepthItem->setGraphicsEffect(effect);
|
||||
}
|
||||
else
|
||||
{
|
||||
_imageItem->setGraphicsEffect(0);
|
||||
_imageDepthItem->setGraphicsEffect(0);
|
||||
}
|
||||
}
|
||||
else if(_imageItem)
|
||||
{
|
||||
_imageItem->setGraphicsEffect(0);
|
||||
}
|
||||
else if(_imageDepthItem)
|
||||
{
|
||||
_imageDepthItem->setGraphicsEffect(0);
|
||||
|
||||
Reference in New Issue
Block a user