mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 22:02:15 +01:00
Update openpype/hosts/nuke/plugins/load/load_clip.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
parent
6fbf7be560
commit
6653df6369
1 changed files with 2 additions and 3 deletions
|
|
@ -222,13 +222,12 @@ class LoadClip(plugin.NukeLoader):
|
|||
representation = deepcopy(representation)
|
||||
context = representation["context"]
|
||||
template = representation["data"]["template"]
|
||||
frame = context["frame"]
|
||||
hashed_frame = "#" * len(str(frame))
|
||||
|
||||
if (
|
||||
"{originalBasename}" in template
|
||||
and "frame" in context
|
||||
):
|
||||
frame = context["frame"]
|
||||
hashed_frame = "#" * len(str(frame))
|
||||
origin_basename = context["originalBasename"]
|
||||
context["originalBasename"] = origin_basename.replace(
|
||||
frame, hashed_frame
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue