VOXELFORMAT: fixed file extension check for vxc files

master
Martin Gerhardy 2022-05-11 23:49:03 +02:00
parent 84f5b7be3e
commit 7764d3b1a2
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ bool VXCFormat::loadGroups(const core::String &filename, io::SeekableReadStream
uint32_t fileSize;
wrap(stream.readUInt32(fileSize))
io::BufferedReadWriteStream substream(stream, fileSize);
const core::String &ext = core::string::extractPath(path);
const core::String &ext = core::string::extractExtension(path);
if (ext == "vxr") {
VXRFormat f;
f.loadGroups(path, substream, sceneGraph);