use assignment instead of update

Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
This commit is contained in:
Mustafa Taher 2024-06-26 15:42:41 +03:00 committed by GitHub
parent b04defeaee
commit 09b0364d2c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -59,4 +59,4 @@ class CollectFrames(plugin.HoudiniInstancePlugin):
frame_collection = frame_collection[0]
frame_collection.indexes.clear()
frame_collection.indexes.update(list(range(start_frame, (end_frame + 1))))
instance.data.update({"frames": list(frame_collection)})
instance.data["frames"] = list(frame_collection)