Skip to content

Commit 9f53f89

Browse files
fixup! ShaderTweaks : Support localising global shaders
1 parent c7d7ce3 commit 9f53f89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/GafferSceneUI/ShaderTweakProxyUI.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def _shaderAttributes( context, nodes, paths, affectedOnly ) :
199199
if not node["in"].exists( path ):
200200
continue
201201

202-
attributes = node["in"].fullAttributes( path ) if useFullAttr else node["in"].attributes( path )
202+
attributes = node["in"].fullAttributes( path, withGlobalAttributes = True ) if useFullAttr else node["in"].attributes( path )
203203
for name, attribute in attributes.items() :
204204
if not IECore.StringAlgo.matchMultiple( name, attributeNamePatterns ) :
205205
continue

0 commit comments

Comments
 (0)