Răsfoiți Sursa

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

susiwen8 1 an în urmă
părinte
comite
93be1831f0
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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 );