Join GitHub today
Remove .tiff (doesn't work) and add warning if file is not imported #948
strImgFileLower was only used as a mean to check the file extension but never used with importImage(QString). The if statement is unnecessary because we filter the allowed file formats to be imported via pencildef.h
Prior to this, if the file format was read as invalid from the if statement, the for loop would simply continue. This could lead to files not being imported correctly.
I've also removed .tiff format because it doesn't appear to be working.
referenced this pull request
Apr 15, 2018
I'm pretty sure this was intentional. If the user want's to import
You should still remove the tif/tiff extension though or file an issue to try and find a solution. I can confirm that tiff sequence import does not appear to be working.
Edit: I see you've already removed it from pencildef.h, but it is still being checked in the if statement.