Merge pull request #823 from pypeclub/hotfix/nuke-read-node-from-write

respecting space in path
This commit is contained in:
Milan Kolar 2020-12-16 21:56:07 +01:00 committed by GitHub
commit 27715c0a59
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -76,7 +76,7 @@ def evaluate_filepath_new(k_value, k_eval, project_dir, first_frame):
def create_read_node(ndata, comp_start):
read = nuke.createNode('Read', 'file ' + ndata['filepath'])
read = nuke.createNode('Read', 'file "' + ndata['filepath'] + '"')
read.knob('colorspace').setValue(int(ndata['colorspace']))
read.knob('raw').setValue(ndata['rawdata'])
read.knob('first').setValue(int(ndata['firstframe']))