浏览代码

[graph] Try fixup cli

Clément Espeute 6 月之前
父节点
当前提交
4ef0593d31
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      hide/view/shadereditor/ShaderEditor.hx

+ 2 - 2
hide/view/shadereditor/ShaderEditor.hx

@@ -1874,7 +1874,7 @@ class ShaderEditor extends hide.view.FileView implements GraphInterface.IGraphEd
 					var input = to.getInputs()[currentEdge.inputToId];
 					var outputs = node.getOutputs();
 					for (output in outputs) {
-						if(ShaderGraph.Graph.areTypesCompatible(input.type, output.type)) {
+						if(hrt.shgraph.ShaderGraph.Graph.areTypesCompatible(input.type, output.type)) {
 							return true;
 						}
 					}
@@ -1885,7 +1885,7 @@ class ShaderEditor extends hide.view.FileView implements GraphInterface.IGraphEd
 					var output = from.getOutputs()[currentEdge.outputFromId];
 					var inputs = node.getInputs();
 					for (input in inputs) {
-						if (ShaderGraph.Graph.areTypesCompatible(input.type, output.type)) {
+						if (hrt.shgraph.ShaderGraph.Graph.areTypesCompatible(input.type, output.type)) {
 							return true;
 						}
 					}