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( row.template_list(
"CAM_UL_chains", "CAM_UL_chains",
"", "id_list_chains",
scene, scene,
"cam_chains", "cam_chains",
scene, scene,
@ -86,7 +86,7 @@ class CAM_CHAINS_Panel(CAMParentPanel, Panel):
if chain: if chain:
row.template_list( row.template_list(
"CAM_UL_operations", "CAM_UL_operations",
"", "id_list_chain_operations",
chain, chain,
"operations", "operations",
chain, chain,

Wyświetl plik

@ -40,7 +40,7 @@ class CAM_OPERATIONS_Panel(CAMParentPanel, Panel):
row = layout.row() row = layout.row()
row.template_list( row.template_list(
"CAM_UL_operations", "CAM_UL_operations",
"", "id_list_operations",
bpy.context.scene, bpy.context.scene,
"cam_operations", "cam_operations",
bpy.context.scene, bpy.context.scene,