Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
memelotsqui committed Nov 27, 2023
1 parent 29ca74b commit b69436f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/library/VRMExporterv0.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b69436f

Please sign in to comment.