Fixed some bugs on Windows...

git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1179 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
matlabbe
2014-02-25 21:07:32 +00:00
parent f4a215c5a3
commit eea38736b4
3 changed files with 7 additions and 4 deletions

View File

@@ -722,7 +722,7 @@ void OdometryThread::getImage(Image & image)
if(!_imageBuffer.empty())
{
image = _imageBuffer;
_imageBuffer = cv::Mat();
_imageBuffer = Image();
}
}
_imageMutex.unlock();