Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
aardgoose committed Sep 20, 2023
1 parent 20c6bc5 commit b27519b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/jsm/nodes/core/OutputStructNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ class OutputStructNode extends Node {
const nodeVar = builder.getVarFromNode( this, this.nodeType );
nodeVar.isOutputStructVar = true;

let propertyName = builder.getPropertyName( nodeVar );
const propertyName = builder.getPropertyName( nodeVar );

const members = this.members;

const structPrefix = propertyName !== '' ? propertyName + '.' : propertyName;
const structPrefix = propertyName !== '' ? propertyName + '.' : '';

for ( let i = 0; i < members.length; i ++ ) {

Expand Down

0 comments on commit b27519b

Please sign in to comment.