Minor UI Fixes for TouchDesigner on Wine
Thank you so much for this! I’m using TD via bottles on Gentoo, and that had been annoying me sm.
Out of curiosity, have you gotten NVIDIA hardware decoding or OPs like background or bodytrack to work with your GPU?
Hi, thanks a lot for this. It works perfectly and fixed the last remaining UI issues I had.
I’ve built an automated script install here to help other Linux users set up TouchDesigner.
Hy,
I have recently use your work for fixe UI interface. Thank’s for sharing.
Your component work perfectly for interface but not for other component of projet.
I have extend this for scan every component in projet (/project1), search all named ‘bg’, add their path to a new list and apply your fix to all detected component.
The code look like this :
def update_list_corrupted_text():
"""
Find path of all operators in project if is name is 'bg'.
All path is add to DAT table bg_paths_table.
"""
# Lists of paths to add
paths_to_add = []
base = op('/project1')
# --- Browse all components in the current network ---
children = base.findChildren(name="bg") + base.findChildren(name="text")
for comp in children:
if comp is None or not comp.path or comp.par is None or not hasattr(comp.par, 'dispmethod'):
continue # Ignore Invalid Items
paths_to_add.append(comp.path)
# --- Create/Fill in the DAT ---
dat_name = 'bg_paths_table' # Nom du DAT de sortie
# Create the DAT if none exists
if not op(dat_name):
op('..').create(tableDAT, dat_name)
dat_table = op(dat_name)
dat_table.clear() # Vider le DAT existant
# Add Headers and Data
for path in paths_to_add:
dat_table.appendRow([path, '4']) # Valeur fixée à 4
return
def onStart():
"""
Called when the project starts.
"""
update_list_corrupted_text()
op_list_corrupted_text = "corrupt_text"
op_list_corrupted_text = op(op_list_corrupted_text )
for index, i in enumerate(op_list_corrupted_text .col(0)):
operator = op(i)
if operator and operator.par and hasattr(operator.par, 'dispmethod'):
value = operator.par.dispmethod.val
print(index, " ", i, "type ", type(value)," ", value)
op(i).par.dispmethod.val = op_list_corrupted_text.col(1)[index].val
return
I’m new in this forum, so I can’t put link to the .tox but if you want I can’t give it by email or another way.
Thanks for your help and TD on Linux is perfect !