So it now does not break existing content. Found a second place in the FBXReader.cpp where the RelativeFileName stripped out the dir location.
Showing the changes to libraries/render-utils/src/GeometryCache.cpp (1 of 6 files). Show all
Unified · Split
| @@ -2185,7 +2185,7 @@ void GeometryReader::run() { · 2184 unmodified lines | ||
| 2185 | 2185 | } else if (_url.path().toLower().endsWith("palaceoforinthilian4.fbx")) { |
| 2186 | 2186 | lightmapLevel = 3.5f; |
| 2187 | 2187 | } |
| 2188 | − fbxgeo = readFBX(_reply, _mapping, grabLightmaps, lightmapLevel); | |
| 2188 | + fbxgeo = readFBX(_reply, _mapping, _url.path(), grabLightmaps, lightmapLevel); | |
| 2189 | 2189 | } else if (_url.path().toLower().endsWith(".obj")) { |
| 2190 | 2190 | fbxgeo = OBJReader().readOBJ(_reply, _mapping, &_url); |
| 2191 | 2191 | } |