Skip to content

Commit 4367eac

Browse files
committed
USDLight : Remove redundant Cycles visibility
1 parent 7e8e8bd commit 4367eac

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

startup/gui/usd.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,3 @@
6767
"spread", "map_resolution", "max_bounces"
6868
] ) :
6969
Gaffer.Metadata.registerValue( GafferUSD.USDLight, f"parameters.cycles:{parameter}", "layout:index", 2000 + i )
70-
71-
# Only show the Cycles parameters if Cycles exists and not hidden
72-
Gaffer.Metadata.registerValue( GafferUSD.USDLight, "parameters", "layout:activator:cyclesUIEnabled", lambda x : os.environ.get( "CYCLES_ROOT" ) and os.environ.get( "GAFFERCYCLES_HIDE_UI", "" ) != "1" )
73-
Gaffer.Metadata.registerValue( GafferUSD.USDLight, "parameters.cycles:*", "layout:visibilityActivator", "cyclesUIEnabled" )

0 commit comments

Comments
 (0)