Explorar o código

Trying to have consistent three.js console messages formatting.

Mr.doob %!s(int64=13) %!d(string=hai) anos
pai
achega
87f4140877
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/core/Object3D.js

+ 1 - 1
src/core/Object3D.js

@@ -114,7 +114,7 @@ THREE.Object3D.prototype = {
 
 		if ( object === this ) {
 
-			console.warn( 'THREE: Object3D.add(): An object can\'t be added as a child of itself.' );
+			console.warn( 'THREE.Object3D.add: An object can\'t be added as a child of itself.' );
 			return;
 
 		}