ghemingway/cad.js

Undefined value when creating skin mesh

rszeto opened this issue · 0 comments

I tried viewing one of the models that I extracted with the readme example, in particular the cutter one. When I went to http://localhost:8080/cutter, I got the error below. Any help would be appreciated, thanks!

Message: Uncaught TypeError: Cannot read property 'count' of undefined
Error: null
Filename: http://localhost:8080/js/main.js
Line number: 23691
Column number: 36
three.js:23464 Uncaught TypeError: Cannot read property 'count' of undefined
   normalizeSkinWeights @ three.js:23464
   THREE.SkinnedMesh @ three.js:23399
   addShellGeometry @ shape.js:127
   (anonymous function) @ shape.js:113
   dispatchEvent @ three.js:8299
   addGeometry @ shell.js:67
   workerMessage @ data_loader.js:207
   (anonymous function) @ data_loader.js:31