Skip to content

Commit

Permalink
consume labels
Browse files Browse the repository at this point in the history
  • Loading branch information
aardgoose committed Sep 22, 2023
1 parent ac901f1 commit 5e678e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/jsm/nodes/core/UniformNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ class UniformNode extends InputNode {
const nodeUniform = builder.getUniformFromNode( sharedNode, sharedNodeType, builder.shaderStage, builder.context.label );
const propertyName = builder.getPropertyName( nodeUniform );

if ( builder.context.label !== undefined ) delete builder.context.label;

return builder.format( propertyName, type, output );

}
Expand Down

0 comments on commit 5e678e9

Please sign in to comment.