This is probably a bug upstream. This fix just adds a newline character to
the end of the script to make it work.
Details
Details
- Reviewers
Brecht Van Lommel (brecht) - Maniphest Tasks
- T77603: OSL files fail to compile when shader ends with a comment
- Commits
- rB5439f43e8830: Fix T77603: OSL parser fails when script ends with comment without newline
rC02411743b4d8: Fix T77603: OSL parser fails when script ends with comment without newline
rBb5846ebce786: Fix T77603: OSL parser fails when script ends with comment without newline
Diff Detail
Diff Detail
- Repository
- rB Blender
Event Timeline
Comment Actions
Might have been fixed by a new version of osl. The line that prints the error was removed here: https://github.com/imageworks/OpenShadingLanguage/commit/f4ec638e6b4d031fb1076036f6777af546805088. Search for preprocessor exception caught.