Browse Source

Trying to have consistent three.js console messages formatting.

Mr.doob 13 năm trước cách đây
mục cha
commit
87f4140877
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
 
 		}