ソースを参照

ShadowNode: Fix warning property name.

sunag 1 年間 前
コミット
5255e36623
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/nodes/lighting/ShadowNode.js

+ 1 - 1
src/nodes/lighting/ShadowNode.js

@@ -367,7 +367,7 @@ class ShadowNode extends Node {
 
 		if ( builder.material.shadowNode ) { // @deprecated, r171
 
-			console.warn( 'THREE.NodeMaterial: ".shadowNode" is deprecated. Use ".receivedShadowNode" instead.' );
+			console.warn( 'THREE.NodeMaterial: ".shadowNode" is deprecated. Use ".castShadowNode" instead.' );
 
 		}
 

粤ICP备19079148号