Fix geoset filtering with expanded body range and debug logging

Expanded body part geoset range from 0-18 to 0-99 to cover all humanoid
submesh IDs. Added per-model debug logging to track submesh IDs and
geoset filtering behavior.
This commit is contained in:
Kelsi 2026-02-05 23:33:28 -08:00
parent 136dd0ac43
commit 9c5e2fb93d
2 changed files with 17 additions and 11 deletions

View file

@ -1171,10 +1171,10 @@ void CharacterRenderer::render(const Camera& camera, const glm::mat4& view, cons
glBindVertexArray(gpuModel.vao);
if (!gpuModel.data.batches.empty()) {
// One-time debug dump of rendered batches
static bool dumpedBatches = false;
if (!dumpedBatches) {
dumpedBatches = true;
// One-time debug dump of rendered batches per model
static std::unordered_set<uint32_t> dumpedModels;
if (dumpedModels.find(instance.modelId) == dumpedModels.end()) {
dumpedModels.insert(instance.modelId);
int bIdx = 0;
int rendered = 0, skipped = 0;
for (const auto& b : gpuModel.data.batches) {