mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-07 10:37:47 +08:00
fixed double compression of user_data
This commit is contained in:
@@ -568,7 +568,7 @@ void SensorData::setUserData(const cv::Mat & userData, bool clearPreviousData)
|
||||
else
|
||||
{
|
||||
_userDataRaw = userData;
|
||||
if(!userData.empty())
|
||||
if(!userData.empty() && _userDataCompressed.empty())
|
||||
{
|
||||
_userDataCompressed = compressData2(userData);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user