|
@@ -41,8 +41,8 @@ THREE.SceneLoader.prototype.load = function( url, callbackFinished ) {
|
|
|
};
|
|
|
|
|
|
xhr.open( "GET", url, true );
|
|
|
- if ( xhr.overrideMimeType ) xhr.overrideMimeType( "text/plain; charset=x-user-defined" );
|
|
|
- xhr.setRequestHeader( "Content-Type", "text/plain" );
|
|
|
+ if ( xhr.overrideMimeType ) xhr.overrideMimeType( "application/json; charset=x-user-defined" );
|
|
|
+ xhr.setRequestHeader( "Content-Type", "application/json" );
|
|
|
xhr.send( null );
|
|
|
|
|
|
};
|