From 2cdb6773d3fb0295a02988e8c9842b2bce25b53b Mon Sep 17 00:00:00 2001 From: LeenkxTeam Date: Sat, 28 Nov 2026 08:51:36 +0000 Subject: [PATCH] Update CollectionProperty type --- leenkx/blender/lnx/props.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/leenkx/blender/lnx/props.py b/leenkx/blender/lnx/props.py index d3acec58..35a6a5e8 100644 --- a/leenkx/blender/lnx/props.py +++ b/leenkx/blender/lnx/props.py @@ -297,9 +297,9 @@ def init_properties(): ('Enabled', 'Enabled', 'Enabled')], name="P2P", default='Disabled', description="Include P2P (Leenkx) library", update=assets.invalidate_compiler_cache) bpy.types.World.lnx_torrent_download_dir = StringProperty(name="Download Path", description="Directory torrent downloads are written to. Relative paths resolve against the project directory at runtime; absolute paths are used as-is", default="Downloads", subtype='DIR_PATH', update=assets.invalidate_compiler_cache) - bpy.types.World.lnx_torrent_trackers = CollectionProperty(name="Torrent Trackers", description="Default torrent tracker announce URLs", type=bpy.types.PropertyGroup) + bpy.types.World.lnx_torrent_trackers = CollectionProperty(name="Torrent Trackers", description="Default torrent tracker announce URLs", type=lnx.utils.LnxPropertyGroup) bpy.types.World.lnx_torrent_trackers_index = IntProperty(name="Torrent Tracker Index", default=0) - bpy.types.World.lnx_torrent_ice_servers = CollectionProperty(name="ICE Servers", description="Default ICE/STUN servers used for WebRTC peer connections", type=bpy.types.PropertyGroup) + bpy.types.World.lnx_torrent_ice_servers = CollectionProperty(name="ICE Servers", description="Default ICE/STUN servers used for WebRTC peer connections", type=lnx.utils.LnxPropertyGroup) bpy.types.World.lnx_torrent_ice_servers_index = IntProperty(name="ICE Server Index", default=0) bpy.types.World.lnx_torrent_peer_timeout = IntProperty(name="Peer Timeout", description="Milliseconds after which an unresponsive peer is dropped", default=5 * 60 * 1000, min=0, update=assets.invalidate_compiler_cache) bpy.types.World.lnx_torrent_heartbeat = IntProperty(name="Heartbeat", description="Milliseconds between heartbeat packets sent to peers", default=30000, min=0, update=assets.invalidate_compiler_cache) @@ -666,11 +666,11 @@ def init_properties(): bpy.types.World.lnx_light_ies_texture = BoolProperty(name="IES Texture (iestexture.png)", default=False, update=assets.invalidate_compiler_cache) bpy.types.World.lnx_light_clouds_texture = BoolProperty(name="Clouds Texture (cloudstexture.png)", default=False, update=assets.invalidate_compiler_cache) - bpy.types.World.lnx_rpcache_list = CollectionProperty(type=bpy.types.PropertyGroup) - bpy.types.World.lnx_scripts_list = CollectionProperty(type=bpy.types.PropertyGroup) - bpy.types.World.lnx_bundled_scripts_list = CollectionProperty(type=bpy.types.PropertyGroup) - bpy.types.World.lnx_canvas_list = CollectionProperty(type=bpy.types.PropertyGroup) - bpy.types.World.lnx_wasm_list = CollectionProperty(type=bpy.types.PropertyGroup) + bpy.types.World.lnx_rpcache_list = CollectionProperty(type=lnx.utils.LnxPropertyGroup) + bpy.types.World.lnx_scripts_list = CollectionProperty(type=lnx.utils.LnxPropertyGroup) + bpy.types.World.lnx_bundled_scripts_list = CollectionProperty(type=lnx.utils.LnxPropertyGroup) + bpy.types.World.lnx_canvas_list = CollectionProperty(type=lnx.utils.LnxPropertyGroup) + bpy.types.World.lnx_wasm_list = CollectionProperty(type=lnx.utils.LnxPropertyGroup) bpy.types.World.world_defs = StringProperty(name="World Shader Defs", default='') bpy.types.World.compo_defs = StringProperty(name="Compositor Shader Defs", default='')