Skip to content

Commit 73e07c1

Browse files
committed
fix scale being undefined
1 parent 757d06e commit 73e07c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/animationRenderer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ function getData(animation, renderedGroups) {
109109
y: -thisRot[1],
110110
z: thisRot[2],
111111
},
112-
scale: scl[groupName],
112+
scale: scl[group.name],
113113
}
114114
})
115115
return res
@@ -304,7 +304,7 @@ async function renderAnimation(options) {
304304
),
305305
],
306306
width: 512 + 256,
307-
singleButton: true
307+
singleButton: true,
308308
},
309309
})
310310
}

0 commit comments

Comments
 (0)