From 09e3c58e22e2415346f13585a4448f0d3f705bef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Station=C3=A4r=5CHenrik?= Date: Wed, 5 Mar 2025 21:26:20 +0100 Subject: [PATCH] List widget need unique id's to tell them apart --- scripts/addons/cam/ui/panels/chains_panel.py | 4 ++-- scripts/addons/cam/ui/panels/operations_panel.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/addons/cam/ui/panels/chains_panel.py b/scripts/addons/cam/ui/panels/chains_panel.py index 132f65c2..d5f0178d 100644 --- a/scripts/addons/cam/ui/panels/chains_panel.py +++ b/scripts/addons/cam/ui/panels/chains_panel.py @@ -59,7 +59,7 @@ class CAM_CHAINS_Panel(CAMParentPanel, Panel): row.template_list( "CAM_UL_chains", - "", + "id_list_chains", scene, "cam_chains", scene, @@ -86,7 +86,7 @@ class CAM_CHAINS_Panel(CAMParentPanel, Panel): if chain: row.template_list( "CAM_UL_operations", - "", + "id_list_chain_operations", chain, "operations", chain, diff --git a/scripts/addons/cam/ui/panels/operations_panel.py b/scripts/addons/cam/ui/panels/operations_panel.py index 37e30653..5adb14c7 100644 --- a/scripts/addons/cam/ui/panels/operations_panel.py +++ b/scripts/addons/cam/ui/panels/operations_panel.py @@ -40,7 +40,7 @@ class CAM_OPERATIONS_Panel(CAMParentPanel, Panel): row = layout.row() row.template_list( "CAM_UL_operations", - "", + "id_list_operations", bpy.context.scene, "cam_operations", bpy.context.scene,