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:
matlabbe
2013-01-13 04:22:24 +00:00
parent 47252eeeab
commit 167a839fed

View File

@@ -2198,7 +2198,7 @@ Signature * Memory::createSignature(int id, const Image & image, bool keepRawDat
Signature * ks;
if(keepRawData)
{
ks = new Signature(id, words, image.image());
ks = new Signature(id, words, image.image().clone());
}
else
{