mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-15 07:50:20 +08:00
labels can be saved in localization mode
This commit is contained in:
@@ -1902,6 +1902,7 @@ bool Memory::labelSignature(int id, const std::string & label)
|
|||||||
if(s)
|
if(s)
|
||||||
{
|
{
|
||||||
s->setLabel(label);
|
s->setLabel(label);
|
||||||
|
_linksChanged = s->isSaved(); // HACK to get label updated in Localization mode
|
||||||
UWARN("Label \"%s\" set to node %d", label.c_str(), id);
|
UWARN("Label \"%s\" set to node %d", label.c_str(), id);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user