Showing the changes to libraries/render-utils/src/GeometryCache.cpp (1 of 7 files). Show all
Unified · Split
| @@ -2101,6 +2101,8 @@ void GeometryReader::run() { · 2100 unmodified lines | ||
| 2101 | 2101 | lightmapLevel = 3.5f; |
| 2102 | 2102 | } |
| 2103 | 2103 | fbxgeo = readFBX(_reply, _mapping, grabLightmaps, lightmapLevel); |
| 2104 | + } else if (_url.path().toLower().endsWith(".obj")) { | |
| 2105 | + fbxgeo = readOBJ(_reply, _mapping); | |
| 2104 | 2106 | } |
| 2105 | 2107 | QMetaObject::invokeMethod(geometry.data(), "setGeometry", Q_ARG(const FBXGeometry&, fbxgeo)); |
| 2106 | 2108 | } else { |