Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ShaderPlug : Fix bug when getInput() == NULL. #1849

Merged
merged 1 commit into from Sep 13, 2016

Conversation

johnhaddon
Copy link
Member

We were using source() without checking that an input existed. In the case of ArnoldDisplacement, this meant that when looking for the shader for ArnoldDisplacement::mapPlug(), it found the ArnoldDisplacement node itself, leading to an infinite loop.

We were using `source()` without checking that an input existed. In the case of ArnoldDisplacement, this meant that when looking for the shader for `ArnoldDisplacement::mapPlug()`, it found the ArnoldDisplacement node itself, leading to an infinite loop.
@andrewkaufman andrewkaufman merged commit eac02cf into GafferHQ:master Sep 13, 2016
@johnhaddon johnhaddon deleted the shaderPlugFix branch September 18, 2016 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants