浏览代码

ShaderNode: Fix cacheMaps.int -> cacheMaps.ints (#27911)

susiwen8 1 年之前
父节点
当前提交
93be1831f0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      examples/jsm/nodes/shadernode/ShaderNode.js

+ 1 - 1
examples/jsm/nodes/shadernode/ShaderNode.js

@@ -555,7 +555,7 @@ addNodeElement( 'append', append );
 export const color = new ConvertType( 'color' );
 
 export const float = new ConvertType( 'float', cacheMaps.float );
-export const int = new ConvertType( 'int', cacheMaps.int );
+export const int = new ConvertType( 'int', cacheMaps.ints );
 export const uint = new ConvertType( 'uint', cacheMaps.uint );
 export const bool = new ConvertType( 'bool', cacheMaps.bool );