Skip to content

Commit 08adb50

Browse files
committed
spaces
1 parent c6ca4b9 commit 08adb50

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/scene/materials/node-material.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -810,22 +810,22 @@ shadergraph.param = function (type, name, value) {
810810
shadergraph.connectFragOut = function (nodeIndex, name) {
811811
// assumes this is only called once per graph TODO: verify this
812812
var graphVar = this.graph.addOutput('vec4', 'fragOut', [0, 0, 0, 0]);
813-
this.graph.connect(nodeIndex, (name) ? 'OUT_'+name : 'OUT_ret', -1, graphVar.name);
813+
this.graph.connect(nodeIndex, (name) ? 'OUT_' + name : 'OUT_ret', -1, graphVar.name);
814814
};
815815

816816
shadergraph.connectVertexOffset = function (nodeIndex, name) {
817817
// assumes this is only called once per graph TODO: verify this
818818
var graphVar = this.graph.addOutput('vec3', 'vertOff', [0, 0, 0]);
819-
this.graph.connect(nodeIndex, (name) ? 'OUT_'+name : 'OUT_ret', -1, graphVar.name);
819+
this.graph.connect(nodeIndex, (name) ? 'OUT_' + name : 'OUT_ret', -1, graphVar.name);
820820
};
821821

822822
shadergraph.connectCustom = function (destNodeIndex, destName, nodeIndex_or_param, name) {
823823
if (typeof(nodeIndex_or_param) === 'number') {
824824
var nodeIndex = nodeIndex_or_param;
825-
this.graph.connect(nodeIndex, (name) ? 'OUT_'+name : 'OUT_ret', destNodeIndex, 'IN_'+destName);
825+
this.graph.connect(nodeIndex, (name) ? 'OUT_' + name : 'OUT_ret', destNodeIndex, 'IN_' + destName);
826826
} else {
827827
var graphVar = nodeIndex_or_param;
828-
this.graph.connect(-1, graphVar.name, destNodeIndex, 'IN_'+destName);
828+
this.graph.connect(-1, graphVar.name, destNodeIndex, 'IN_' + destName);
829829
}
830830
};
831831

0 commit comments

Comments
 (0)