mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 17:40:23 +08:00
Added tiff as image type supported, fixed a crash on Mac OS X Maverick when showing the GraphView
This commit is contained in:
@@ -1747,7 +1747,7 @@ void PreferencesDialog::selectSourceImage(Src src)
|
||||
if(!path.isEmpty() && dir.exists())
|
||||
{
|
||||
QStringList filters;
|
||||
filters << "*.jpg" << "*.ppm" << "*.bmp" << "*.png" << "*.pnm";
|
||||
filters << "*.jpg" << "*.ppm" << "*.bmp" << "*.png" << "*.pnm" << "*.tiff";
|
||||
dir.setNameFilters(filters);
|
||||
QFileInfoList files = dir.entryInfoList();
|
||||
if(!files.empty())
|
||||
|
||||
Reference in New Issue
Block a user