mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
fixing sequence loading
This commit is contained in:
parent
6196ded1a9
commit
6c8d2f2307
1 changed files with 5 additions and 4 deletions
|
|
@ -91,14 +91,14 @@ class LoadClip(plugin.NukeLoader):
|
|||
# reset container id so it is always unique for each instance
|
||||
self.reset_container_id()
|
||||
|
||||
self.log.warning(self.extensions)
|
||||
|
||||
is_sequence = len(representation["files"]) > 1
|
||||
|
||||
if is_sequence:
|
||||
representation = self._representation_with_hash_in_frame(
|
||||
representation
|
||||
context["representation"] = \
|
||||
self._representation_with_hash_in_frame(
|
||||
representation
|
||||
)
|
||||
|
||||
filepath = self.filepath_from_context(context)
|
||||
filepath = filepath.replace("\\", "/")
|
||||
self.log.debug("_ filepath: {}".format(filepath))
|
||||
|
|
@ -260,6 +260,7 @@ class LoadClip(plugin.NukeLoader):
|
|||
representation = self._representation_with_hash_in_frame(
|
||||
representation
|
||||
)
|
||||
|
||||
filepath = get_representation_path(representation).replace("\\", "/")
|
||||
self.log.debug("_ filepath: {}".format(filepath))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue