diff --git a/src/gi/impl/Gi.cpp b/src/gi/impl/Gi.cpp index 938da0a3..2bc16a1d 100644 --- a/src/gi/impl/Gi.cpp +++ b/src/gi/impl/Gi.cpp @@ -752,6 +752,10 @@ namespace gtl primvars.resize(sceneDataCount, nullptr); + if (sceneDataCount > 0) + { + GB_DEBUG("scene data for mesh {} with material {}:", mesh->name, material->name); + } for (size_t i = 0; i < sceneDataCount; i++) { const char* sceneDataName = sceneDataNames[i]; @@ -769,10 +773,11 @@ namespace gtl if (!primvar) { - GB_DEBUG("scene data {} not found for mesh {} with material {}", mesh->name, sceneDataName, material->name); + GB_DEBUG("> [{}] {} (not found!)", i, sceneDataName); continue; } + GB_DEBUG("> [{}] {}", i, sceneDataName); primvars[i] = primvar; } }