Browse Source

Remove the SceneLoader console error log

See issue: https://github.com/mrdoob/three.js/issues/13405
Jim 7 years ago
parent
commit
cbbfbb21c1
1 changed files with 0 additions and 7 deletions
  1. 0 7
      src/loaders/JSONLoader.js

+ 0 - 7
src/loaders/JSONLoader.js

@@ -58,13 +58,6 @@ Object.assign( JSONLoader.prototype, {
 
 					}
 
-					if ( type.toLowerCase() === 'scene' ) {
-
-						console.error( 'THREE.JSONLoader: ' + url + ' should be loaded with THREE.SceneLoader instead.' );
-						return;
-
-					}
-
 				}
 
 			}