List widget need unique id's to tell them apart

pull/292/head
Stationär\Henrik 2025-03-05 21:26:20 +01:00
rodzic 3241f84871
commit 09e3c58e22
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -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,

Wyświetl plik

@ -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,