mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-13 05:19:51 +08:00
rtabmap: use last argument with db suffix as the database used (fixed issue when setting a dictionary path as argument)
This commit is contained in:
@@ -61,7 +61,6 @@ int main(int argc, char* argv[])
|
|||||||
UFile::getExtension(value).compare("db") == 0)
|
UFile::getExtension(value).compare("db") == 0)
|
||||||
{
|
{
|
||||||
database = value;
|
database = value;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user