Export Network Update

This commit is contained in:
2026-10-06 11:34:17 -07:00
parent 4ab646015d
commit 211cba61a6
4 changed files with 7 additions and 6 deletions

View File

@ -1358,7 +1358,8 @@ class LNX_PT_ProjectModulesPanel(bpy.types.Panel):
layout.prop(wrd, 'lnx_navigation_engine')
layout.prop(wrd, 'lnx_ui')
layout.prop(wrd, 'lnx_network')
layout.prop(wrd, 'lnx_torrent')
if wrd.lnx_network != 'Disabled':
layout.prop(wrd, 'lnx_torrent')
layout.prop_search(wrd, 'lnx_khafile', bpy.data, 'texts')
layout.prop(wrd, 'lnx_project_root')
@ -1472,7 +1473,7 @@ class LNX_PT_LeenkxNetworkPanel(bpy.types.Panel):
wrd = bpy.data.worlds['Lnx']
col = layout.column()
col.enabled = wrd.lnx_torrent != 'Disabled'
col.enabled = wrd.lnx_torrent != 'Disabled' and wrd.lnx_network != 'Disabled'
col.prop(wrd, "lnx_torrent_download_dir")
col.prop(wrd, "lnx_torrent_peer_timeout")