VOXELRENDER: todo comment

master
Martin Gerhardy 2022-03-27 11:58:01 +02:00
parent e1c81cdb37
commit 55a9b0b296
1 changed files with 1 additions and 0 deletions

View File

@ -93,6 +93,7 @@ void SceneGraphRenderer::prepare(voxelformat::SceneGraph &sceneGraph, int frame,
}
const int activeNode = sceneGraph.activeNode();
// TODO: using the node id here is not good as they are increasing when you modify the scene graph
for (voxelformat::SceneGraphNode &node : sceneGraph) {
if (node.id() >= RawVolumeRenderer::MAX_VOLUMES) {
continue;