no duplicates in node reference in OpenpypeData

This commit is contained in:
Kayla Man 2023-06-26 21:33:02 +08:00
parent 6f7f633e86
commit 1442bddbcc

View file

@ -42,6 +42,10 @@ MS_CUSTOM_ATTRIB = """attributes "openPypeData"
(
handle_name = node_to_name c
node_ref = NodeTransformMonitor node:c
idx = finditem list_node.items handle_name
if idx do (
return False
)
append temp_arr handle_name
append i_node_arr node_ref
)