Skip to content

Commit

Permalink
created page filtering menu parameter
Browse files Browse the repository at this point in the history
user has the ability to specify filtering modes for UberGui.

The default, which is all custom pages now, should be less confusing, and the other option is for only showing pages who's name is all upper case.
  • Loading branch information
EnviralDesign committed Feb 7, 2021
1 parent cbb342d commit 851c3d1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Binary file modified UGV4.tox
Binary file not shown.
Binary file modified UberGui_V4_Release.toe
Binary file not shown.
4 changes: 3 additions & 1 deletion python/UG4.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ def __init__(self, ownerComp):
self.srcOpDat = op('null_srcOp')
self.dstOpsDat = op('null_dstOps')
self.tupleLookup = op('null_tupleLookup')
self.publicLookup = op('null_public')

self.uvLselect = op('null_uv_lselect')

Expand All @@ -32,7 +33,8 @@ def Regenerate(self, SRC ):

uberGuiOverrideDat = SRC.op('Uberguiconfigoverride')

parTuplets = [ x for x in SRC.customTuplets if x[0].enable == True and x[0].page.name.isupper() ]
publicPageNames = self.publicLookup.row(1)[0].val.split(',')
parTuplets = [ x for x in SRC.customTuplets if x[0].enable == True and x[0].page.name in publicPageNames ]

FirstHeader = 1

Expand Down

0 comments on commit 851c3d1

Please sign in to comment.