fix(nuke): loading was calculating with handles but it should be without

This commit is contained in:
Jakub Jezek 2019-08-02 18:47:06 +02:00
parent 20783b6b27
commit b74872a6dd

View file

@ -91,7 +91,7 @@ class LoadSequence(api.Loader):
version = context['version']
version_data = version.get("data", {})
log.info("version_data: {}\n".format(version_data))
first = version_data.get("startFrame", None)
last = version_data.get("endFrame", None)
handles = version_data.get("handles", 0)
@ -103,9 +103,9 @@ class LoadSequence(api.Loader):
handle_start = handles
handle_end = handles
# create handles offset
first -= handle_start
last += handle_end
# # create handles offset
# first -= handle_start
# last += handle_end
# Fallback to asset name when namespace is None
if namespace is None: