mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-04 17:17:47 +08:00
Explicitly clone image when raw data is kept
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@730 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -2198,7 +2198,7 @@ Signature * Memory::createSignature(int id, const Image & image, bool keepRawDat
|
|||||||
Signature * ks;
|
Signature * ks;
|
||||||
if(keepRawData)
|
if(keepRawData)
|
||||||
{
|
{
|
||||||
ks = new Signature(id, words, image.image());
|
ks = new Signature(id, words, image.image().clone());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user