Explorar o código

fix rename https://github.com/mrdoob/three.js/pull/20421/commits/6793b34c144dcc533d8be9d9f76bf31ce5d88547

sunag %!s(int64=5) %!d(string=hai) anos
pai
achega
a7a305fb40
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      examples/jsm/renderers/webgpu/WebGPUNodeBuilder.js

+ 1 - 1
examples/jsm/renderers/webgpu/WebGPUNodeBuilder.js

@@ -89,7 +89,7 @@ class WebGPUNodeBuilder extends NodeBuilder {
 		const uniformNode = super.getUniformFromNode( node, shaderStage, type );
 		const uniformNode = super.getUniformFromNode( node, shaderStage, type );
 		const nodeData = this.getDataFromNode( node, shaderStage );
 		const nodeData = this.getDataFromNode( node, shaderStage );
 
 
-		if ( nodeData.uniformGroup === undefined ) {
+		if ( nodeData.uniform === undefined ) {
 
 
 			let uniformsGroup = this.uniformsGroup[ shaderStage ];
 			let uniformsGroup = this.uniformsGroup[ shaderStage ];
 
 

粤ICP备19079148号