mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +08:00
cloudFromDepthRGB() iterating over depth image size instead of RGB image size. DbViewer: fixed scale of image view when depth is smaller than rgb.
This commit is contained in:
@@ -2629,7 +2629,7 @@ void DatabaseViewer::update(int value,
|
||||
if(!imgDepth.isNull())
|
||||
{
|
||||
view->setImageDepth(imgDepth);
|
||||
if(!img.isNull())
|
||||
if(img.isNull())
|
||||
{
|
||||
rect = imgDepth.rect();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user