瀏覽代碼

Change color for the link between PBR blocks

Popov72 4 年之前
父節點
當前提交
b154bdedd3
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      nodeEditor/src/blockTools.ts

+ 3 - 0
nodeEditor/src/blockTools.ts

@@ -525,6 +525,9 @@ export class BlockTools {
             case NodeMaterialBlockConnectionPointTypes.Matrix:
                 color = "#591990";
                 break;
+            case NodeMaterialBlockConnectionPointTypes.Object:
+                color = "#6174FA";
+                break;
         }
 
         return color;