mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +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;
|
||||
if(keepRawData)
|
||||
{
|
||||
ks = new Signature(id, words, image.image());
|
||||
ks = new Signature(id, words, image.image().clone());
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user