mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
Harmony - fix - update/remove of loaded image sequence didn't do anything
find_node_by_name didn't contain sequence number which is in real node name Real node name from nodes[] used instead.
This commit is contained in:
parent
7d5fc29bc6
commit
e5803e0ad5
1 changed files with 2 additions and 2 deletions
|
|
@ -76,7 +76,7 @@ class ImageSequenceLoader(api.Loader):
|
|||
|
||||
"""
|
||||
self_name = self.__class__.__name__
|
||||
node = harmony.find_node_by_name(container["name"], "READ")
|
||||
node = container.get("nodes").pop()
|
||||
|
||||
path = api.get_representation_path(representation)
|
||||
collections, remainder = clique.assemble(
|
||||
|
|
@ -129,7 +129,7 @@ class ImageSequenceLoader(api.Loader):
|
|||
container (dict): Container data.
|
||||
|
||||
"""
|
||||
node = harmony.find_node_by_name(container["name"], "READ")
|
||||
node = container.get("nodes").pop()
|
||||
harmony.send(
|
||||
{"function": "PypeHarmony.deleteNode", "args": [node]}
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue