Pass down arguments to glTF child nodes

Refs #824
This commit is contained in:
Sascha Willems 2022-12-31 14:12:26 +01:00
parent ac1a216ac6
commit e0a49c20e8

View file

@ -1437,7 +1437,7 @@ void vkglTF::Model::drawNode(Node *node, VkCommandBuffer commandBuffer, uint32_t
}
}
for (auto& child : node->children) {
drawNode(child, commandBuffer, renderFlags);
drawNode(child, commandBuffer, renderFlags, pipelineLayout, bindImageSet);
}
}