bug fix for not being able to remove item in scene inventory

This commit is contained in:
Kayla Man 2023-02-22 22:19:47 +08:00 committed by Ondřej Samohel
parent 79eb375c06
commit 3cb530ce60

View file

@ -80,7 +80,7 @@ importFile @"{file_path}" #noPrompt
def remove(self, container):
from pymxs import runtime as rt
node = container["node"]
node = rt.getNodeByName(container["instance_node"])
rt.delete(node)
@staticmethod