Просмотр исходного кода

Update WebGLRenderer.js

Add forum link to deprecation warning.
Michael Herzog 3 лет назад
Родитель
Сommit
dee718dea0
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/renderers/WebGLRenderer.js

+ 2 - 2
src/renderers/WebGLRenderer.js

@@ -2446,14 +2446,14 @@ class WebGLRenderer {
 
 
 	get useLegacyLights() { // @deprecated, r155
 	get useLegacyLights() { // @deprecated, r155
 
 
-		console.warn( 'THREE.WebGLRenderer: The property .useLegacyLights has been deprecated. Migrate your lighting according to the following guide: TODO.' );
+		console.warn( 'THREE.WebGLRenderer: The property .useLegacyLights has been deprecated. Migrate your lighting according to the following guide: https://discourse.threejs.org/t/updates-to-lighting-in-three-js-r155/53733.' );
 		return this._useLegacyLights;
 		return this._useLegacyLights;
 
 
 	}
 	}
 
 
 	set useLegacyLights( value ) { // @deprecated, r155
 	set useLegacyLights( value ) { // @deprecated, r155
 
 
-		console.warn( 'THREE.WebGLRenderer: The property .useLegacyLights has been deprecated. Migrate your lighting according to the following guide: TODO.' );
+		console.warn( 'THREE.WebGLRenderer: The property .useLegacyLights has been deprecated. Migrate your lighting according to the following guide: https://discourse.threejs.org/t/updates-to-lighting-in-three-js-r155/53733.' );
 		this._useLegacyLights = value;
 		this._useLegacyLights = value;
 
 
 	}
 	}

粤ICP备19079148号