Added tiff as image type supported, fixed a crash on Mac OS X Maverick when showing the GraphView

This commit is contained in:
matlabbe
2015-01-06 10:53:43 -05:00
parent 4c2dad453d
commit a979216fc1
4 changed files with 16 additions and 6 deletions
+2 -2
View File
@@ -135,11 +135,11 @@ bool CameraImages::init()
UDEBUG("");
if(_dir)
{
_dir->setPath(_path, "jpg ppm png bmp pnm");
_dir->setPath(_path, "jpg ppm png bmp pnm tiff");
}
else
{
_dir = new UDirectory(_path, "jpg ppm png bmp pnm");
_dir = new UDirectory(_path, "jpg ppm png bmp pnm tiff");
}
_count = 0;
if(_path[_path.size()-1] != '\\' && _path[_path.size()-1] != '/')