 
   updateNormalsTexture: (texture) ->
     # We update the normal map field on material so that appropriate shader defines get turned on.
-    for side, animatedMesh of @animatedMeshes
+    for side, animatedMesh of @mainAnimatedMeshes
       animatedMesh.options.material.normalMap = texture
       animatedMesh.options.material.needsUpdate = true
 


    @humanAvatarRenderer?.destroy()

    for side, animatedMesh of @animatedMeshes
      animatedMesh._updateCreatureRendererAutorun.stop()
      animatedMesh.destroy()


    texture.minFilter = THREE.NearestFilter

    # We update the map (via texture field).
    for side, animatedMesh of @mainAnimatedMeshes
      animatedMesh.texture texture
      animatedMesh.options.material.needsUpdate = true

