Skip to content

Commit

Permalink
Attribute metadata : Relocate filteredLights registration
Browse files Browse the repository at this point in the history
We now have a more consolidated registration of attribute metadata in standardAttributes.py, so relocate this isolated registration there.
  • Loading branch information
murraystevenson committed Jan 21, 2025
1 parent eb24076 commit f2f5412
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 40 deletions.
1 change: 1 addition & 0 deletions startup/GafferScene/standardAttributes.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@
contribute to illumination by default.
"""
)
Gaffer.Metadata.registerValue( "attribute:filteredLights", "ui:scene:acceptsSetExpression", True )

Gaffer.Metadata.registerValue( "attribute:gaffer:automaticInstancing", "label", "Automatic Instancing" )
Gaffer.Metadata.registerValue( "attribute:gaffer:automaticInstancing", "defaultValue", IECore.BoolData( True ) )
Expand Down
40 changes: 0 additions & 40 deletions startup/GafferSceneUI/lightFilter.py

This file was deleted.

0 comments on commit f2f5412

Please sign in to comment.