Skip to content

Commit

Permalink
LightEditor : Add filteredLights attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
ericmehl committed Jun 21, 2024
1 parent 583ca50 commit 5f0036f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/GafferArnoldUI/ArnoldShaderUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,9 @@ def addActivator( activator ) :
GafferSceneUI.LightEditor.registerParameter( "ai:light", "width", "Shape" )
GafferSceneUI.LightEditor.registerParameter( "ai:light", "height", "Shape" )

# Manually add the `filteredLights` parameter for `light_blocker`
GafferSceneUI.LightEditor.registerAttribute( "ai:light", "filteredLights", "Blocker" )

##########################################################################
# Gaffer Metadata queries. These are implemented using the preconstructed
# registry above.
Expand Down

0 comments on commit 5f0036f

Please sign in to comment.