removing the node references successfully in the parameter

This commit is contained in:
Kayla Man 2023-06-13 20:50:24 +08:00
parent 15dd1e13b6
commit fc4c4668d0

View file

@ -56,7 +56,6 @@ MS_CUSTOM_ATTRIB = """attributes "openPypeData"
if current_selection == undefined then return False
temp_arr = #()
i_node_arr = #()
new_temp_arr = #()
new_i_node_arr = #()
for c in current_selection do
@ -73,11 +72,10 @@ MS_CUSTOM_ATTRIB = """attributes "openPypeData"
if idx do
(
DeleteItem list_node.items idx
for i in list_node.items do append new_temp_arr i
)
)
all_handles = new_i_node_arr
list_node.items = new_temp_arr
list_node.items = temp_arr
)
on OPparams open do