sohamkamani / three-object-loader

[DEPRECATED] NodeJS wrapper for Three.js' OBJLoader function
30 stars 31 forks source link

Crashes with three 0.74, "loader.setCrossOrigin is not a function" #3

Closed AndrewRayCode closed 8 years ago

AndrewRayCode commented 8 years ago

Fails on this line: https://github.com/sohamkamani/three-object-loader/blob/master/source/index.js#L23

  loader.setCrossOrigin(this.crossOrigin);

Error:

Uncaught TypeError: loader.setCrossOrigin is not a function(…)

Looks like it was removed in this threejs commit

Related to this threejs ticket