title: Imported JSON geometry not moving with bones
body: <p>I have imported a model into my Three.js scene. I am able to move and rotate the bones but the model's geometry does not move with the bones.</p>
  
  <p>Here is the code I have used to import the JSON file and add it to the scene,</p>
  
  <pre><code>/*load JSON file*/
  // instantiate a loader
  var loader = new THREE.JSONLoader();
  loader.load( 'https://cdn.rawgit.com/wpdildine/wpdildine.github.com/master/models/cylinder.json', addModel );
  
  var helpset;
  var scaleVal = 3;
  
  function addModel( geometry,  materials ){
  
      materials.skinning = true;
  
      var cs = scaleVal * Math.random();
  
      mesh = new THREE.SkinnedMesh( geometry, new THREE.MeshFaceMaterial(materials) );
  
      scene.add(mesh);
      helpset = new THREE.SkeletonHelper(mesh);
      scene.add(helpset);     
  
  }
  </code></pre>
  
  <p>The JSON file that I have imported includes weights so I did not think I had to add them myself. Would it be anything to do with binding the skeleton to the mesh?</p>
  
  <p>Here is a link to my code - <a href="https://jsfiddle.net/joeob61k/1/" rel="nofollow">https://jsfiddle.net/joeob61k/1/</a> (New link with scripts, thanks @Mr. Polywhirl)</p>
  
  <p>As you can see, 'Bone_2' in the GUI controls moves one of the bones but not the mesh.</p>
  
  <p>EDIT: I have tried accessing the bones of the mesh in the render() function. I have done so by using the following line of code,</p>
  
  <pre><code>mesh.skeleton.bones[2].rotation = 0.1;
  </code></pre>
  
  <p>I get the following error: 'Cannot read property 'skeleton' of undefined(…)' were undefined is the mesh variable. Is there a new way of accessing the bones of a SkinnedMesh that I need to use?</p>