VOXCONVERT: fixed compilation

master
Martin Gerhardy 2022-04-04 19:47:51 +02:00
parent 0dda2f0c5c
commit 1c7aef5d68
1 changed files with 1 additions and 1 deletions

View File

@ -522,7 +522,7 @@ int VoxConvert::dumpNode_r(const voxelformat::SceneGraph& sceneGraph, int nodeId
voxel::RawVolume *v = node.volume();
Log::info("%*s |- volume: %s", indent, " ", v != nullptr ? v->region().toString().c_str() : "no volume");
if (v) {
voxelutil::visitVolume(v, [&](int, int, int, const voxel::Voxel &) { ++voxels; });
voxelutil::visitVolume(*v, [&](int, int, int, const voxel::Voxel &) { ++voxels; });
}
}
for (const auto & entry : node.properties()) {