Przeglądaj źródła

Update Controls.js

Add `@deprecated` tag.
Michael Herzog 1 rok temu
rodzic
commit
8ac83758c8
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/extras/Controls.js

+ 1 - 1
src/extras/Controls.js

@@ -84,7 +84,7 @@ class Controls extends EventDispatcher {
 
 		if ( element === undefined ) {
 
-			console.warn( 'THREE.Controls: connect() now requires an element.' );
+			console.warn( 'THREE.Controls: connect() now requires an element.' ); // @deprecated, the warning can be removed with r185
 			return;
 
 		}

粤ICP备19079148号