From 499cadb8298dfa2f1e01705fd9916ce5c0d2242f Mon Sep 17 00:00:00 2001 From: Toke Jepsen Date: Fri, 2 Aug 2019 12:39:29 +0100 Subject: [PATCH] Updating read nodes was erroring because startFrame/endFrame came in as floats. --- pype/plugins/nuke/load/load_sequence.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pype/plugins/nuke/load/load_sequence.py b/pype/plugins/nuke/load/load_sequence.py index b2affb3563..cfab01d9a0 100644 --- a/pype/plugins/nuke/load/load_sequence.py +++ b/pype/plugins/nuke/load/load_sequence.py @@ -226,10 +226,10 @@ class LoadSequence(api.Loader): # Set the global in to the start frame of the sequence loader_shift(node, first, relative=True) - node["origfirst"].setValue(first) - node["first"].setValue(first) - node["origlast"].setValue(last) - node["last"].setValue(last) + node["origfirst"].setValue(int(first)) + node["first"].setValue(int(first)) + node["origlast"].setValue(int(last)) + node["last"].setValue(int(last)) updated_dict = {} updated_dict.update({