Reply To: When I try to run the OSL color script I get an 'Invalid Syntax' error. I've copied and pasted directly and double checke…

Forum Archive When I try to run the OSL color script I get an 'Invalid Syntax' error. I've copied and pasted directly and double checke… Reply To: When I try to run the OSL color script I get an 'Invalid Syntax' error. I've copied and pasted directly and double checke…

#24843
Jonathan Lampel
Participant

    You don’t need to click on Run in order for the OSL script to work, instead just load it through the node editor. It’s throwing a syntax error because the text editor is expecting a Python script, and hitting Run Script will try to execute it using Python.