mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
feat(nuke): improving nuke features
- loader reads fpath and convert to hashes in path - adding `review` knob to write - removing extract_frames.py to _unused plugins
This commit is contained in:
parent
4dee025cfe
commit
66d0b1b253
6 changed files with 30 additions and 9 deletions
|
|
@ -110,6 +110,7 @@ class LoadSequence(api.Loader):
|
|||
last += self.handle_end
|
||||
|
||||
file = self.fname.replace("\\", "/")
|
||||
|
||||
log.info("file: {}\n".format(self.fname))
|
||||
|
||||
repr_cont = context["representation"]["context"]
|
||||
|
|
@ -118,6 +119,11 @@ class LoadSequence(api.Loader):
|
|||
repr_cont["subset"],
|
||||
repr_cont["representation"])
|
||||
|
||||
if "#" not in file:
|
||||
frame = repr_cont.get("frame")
|
||||
padding = len(frame)
|
||||
file = file.replace(frame, "#"*padding)
|
||||
|
||||
# Create the Loader with the filename path set
|
||||
with viewer_update_and_undo_stop():
|
||||
# TODO: it might be universal read to img/geo/camera
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue