Showing the changes to libraries/render-utils/src/GeometryCache.cpp (1 of 10 files). Show all
Unified · Split
| @@ -1873,9 +1873,9 @@ void GeometryReader::run() { · 1872 unmodified lines | |||
| 1873 | if (!_reply) { | 1873 | if (!_reply) { |
| 1874 | throw QString("Reply is NULL ?!"); | 1874 | throw QString("Reply is NULL ?!"); |
| 1875 | } | 1875 | } |
| 1876 | std::string urlname = _url.path().toLower().toStdString(); | 1876 | QString urlname = _url.path().toLower(); |
| 1877 | bool urlValid = true; | 1877 | bool urlValid = true; |
| 1878 | urlValid &= !urlname.empty(); | 1878 | urlValid &= !urlname.isEmpty(); |
| 1879 | urlValid &= !_url.path().isEmpty(); | 1879 | urlValid &= !_url.path().isEmpty(); |
| 1880 | urlValid &= _url.path().toLower().endsWith(".fbx") | 1880 | urlValid &= _url.path().toLower().endsWith(".fbx") |
| 1881 | || _url.path().toLower().endsWith(".svo"); | 1881 | || _url.path().toLower().endsWith(".svo"); |