Skip to content

Commit 2d1695e

Browse files
authoredSep 26, 2023
Nodes: Fix addNodeClass and addNodeMaterial in case of renaming classes (#26846)
1 parent 6a5d6de commit 2d1695e

File tree

118 files changed

+129
-127
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+129
-127
lines changed
 

‎examples/jsm/nodes/accessors/BitangentNode.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,4 @@ export const bitangentWorld = nodeImmutable( BitangentNode, BitangentNode.WORLD
8686
export const transformedBitangentView = normalize( transformedNormalView.cross( transformedTangentView ).mul( tangentGeometry.w ) );
8787
export const transformedBitangentWorld = normalize( transformedBitangentView.transformDirection( cameraViewMatrix ) );
8888

89-
addNodeClass( BitangentNode );
89+
addNodeClass( 'BitangentNode', BitangentNode );

‎examples/jsm/nodes/accessors/BufferAttributeNode.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,4 +122,4 @@ export const instancedDynamicBufferAttribute = ( array, type, stride, offset ) =
122122

123123
addNodeElement( 'toAttribute', ( bufferNode ) => bufferAttribute( bufferNode.value ) );
124124

125-
addNodeClass( BufferAttributeNode );
125+
addNodeClass( 'BufferAttributeNode', BufferAttributeNode );

0 commit comments

Comments
 (0)
Please sign in to comment.