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:
Jakub Jezek 2019-11-04 19:28:39 +01:00
parent 4dee025cfe
commit 66d0b1b253
6 changed files with 30 additions and 9 deletions

View file

@ -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