Import a 3D Model and automatically assign and export animations
TypeScript
Remove warning when resizing window
Scott Petrovicaccde29c9b67
diff --git a/src/lib/CustomSkeletonHelper.ts b/src/lib/CustomSkeletonHelper.tsindex 9163fc8..da4cb0a 100644--- a/src/lib/CustomSkeletonHelper.ts+++ b/src/lib/CustomSkeletonHelper.ts@@ -55,7 +55,9 @@ class CustomSkeletonHelper extends Line2 {this.matrix = object.matrixWorldthis.matrixAutoUpdate = false- window.addEventListener('resize', () => {this.updateResolution()})+ // The custom skeleton helper originally had this+ // not sure if it is actually needed or provides any benefit+ // window.addEventListener('resize', () => {this.updateResolution()})// add sphere geometry for jointsconst sphereGeometry = new SphereGeometry(0.01, 16, 16)