From b69436f3a6a5448a08c6bc59b956534c2006d0a2 Mon Sep 17 00:00:00 2001 From: memelotsqui Date: Mon, 27 Nov 2023 08:43:11 -0600 Subject: [PATCH] fix comment --- src/library/VRMExporterv0.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/library/VRMExporterv0.js b/src/library/VRMExporterv0.js index 99353453..76edcc01 100644 --- a/src/library/VRMExporterv0.js +++ b/src/library/VRMExporterv0.js @@ -584,10 +584,9 @@ export default class VRMExporterv0 { const colliderIndices = []; springBone.colliderGroups.forEach(colliderGroup => { const springCollider = colliderGroup.colliders[0]; - // sometimes there is no colliders defined + // sometimes there are no colliders defined in collidersGroup if (springCollider != null){ const springParent = springCollider.parent; - const ind = colliderGroups.findIndex(group => group.name === springParent.name); if (ind != -1){ colliderIndices.push(ind);