From a22dffc9379dae847427206b35399c06626315c0 Mon Sep 17 00:00:00 2001 From: John Haddon Date: Tue, 14 Nov 2023 14:26:14 +0000 Subject: [PATCH] ArnoldShaderUI : Avoid nodules for `AI_TYPE_NODE` parameters --- python/GafferArnoldUI/ArnoldShaderUI.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/GafferArnoldUI/ArnoldShaderUI.py b/python/GafferArnoldUI/ArnoldShaderUI.py index d4576c14830..7b6b8c2815f 100644 --- a/python/GafferArnoldUI/ArnoldShaderUI.py +++ b/python/GafferArnoldUI/ArnoldShaderUI.py @@ -270,7 +270,8 @@ def __translateNodeMetadata( nodeEntry ) : nodeEntry, paramName, "linkable", defaultValue = paramType not in ( arnold.AI_TYPE_BYTE, arnold.AI_TYPE_INT, arnold.AI_TYPE_UINT, - arnold.AI_TYPE_BOOLEAN, arnold.AI_TYPE_ENUM, arnold.AI_TYPE_STRING + arnold.AI_TYPE_BOOLEAN, arnold.AI_TYPE_ENUM, arnold.AI_TYPE_STRING, + arnold.AI_TYPE_NODE ) ) __metadata[paramPath]["nodule:type"] = None if linkable else ""