bug fix delete items from container to remove item

This commit is contained in:
Kayla Man 2023-09-27 19:43:21 +08:00
parent 3ddfb13e2a
commit 8897cdaa92

View file

@ -91,7 +91,7 @@ MS_CUSTOM_ATTRIB = """attributes "openPypeData"
(
current_selection = selectByName title:"Select Objects to remove
from the Container" buttontext:"Remove" filter: nodes_to_rmv
if current_selection == undefined then return False
if current_selection == undefined or current_selection.count == 0 then return False
temp_arr = #()
i_node_arr = #()
new_i_node_arr = #()