Showing the changes to interface/src/ModelSelector.cpp (1 of 1 file). Show all
Unified · Split
| @@ -81,7 +81,7 @@ void ModelSelector::browse() { · 80 unmodified lines | ||
| 81 | 81 | "Model files (*.fst *.fbx)"); |
| 82 | 82 | QFileInfo fileInfo(filename); |
| 83 | 83 | |
| 84 | − if (fileInfo.isFile() && fileInfo.completeSuffix().contains(QRegExp("fst|fbx"))) { | |
| 84 | + if (fileInfo.isFile() && fileInfo.completeSuffix().contains(QRegExp("fst|fbx|FST|FBX"))) { | |
| 85 | 85 | _modelFile = fileInfo; |
| 86 | 86 | _browseButton->setText(fileInfo.fileName()); |
| 87 | 87 | lastModelBrowseLocation.set(fileInfo.path()); |