Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
nuke: updating clip with retime options
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubjezek001 committed Jul 12, 2022
1 parent 498ed60 commit d04e95e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions openpype/hosts/nuke/plugins/load/load_clip.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,11 +212,12 @@ def update(self, container, representation):
read_node = nuke.toNode(container['objectName'])
file = get_representation_path(representation).replace("\\", "/")

start_at_workfile = bool("start at" in read_node['frame_mode'].value())
start_at_workfile = "start at" in read_node['frame_mode'].value()

# TODO: find `addRetime` add openpipe data
# add_retime = options.get(
# "add_retime", self.options_defaults["add_retime"])
add_retime = [
key for key in read_node.knobs().keys()
if "addRetime" in key
]

project_name = legacy_io.active_project()
version_doc = get_version_by_id(project_name, representation["parent"])
Expand Down

0 comments on commit d04e95e

Please sign in to comment.