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

Fix invalid substitution in MixRgbNodeConverter #294

Merged

Conversation

akien-mga
Copy link
Member

Tested on blender2.80 as 2.81 doesn't work yet. But it's relevant to master too, so PR'ing here and it should be cherry-picked for 2.80 too.

@Jason0214
Copy link
Collaborator

Looks good to me. Failed pylint because of line too long, simply split this line will fix it.

@@ -735,7 +735,7 @@ def parse_node_to_fragment(self):
self.add_function_call(mix_func, in_args, out_args)

if self.bl_node.use_clamp:
self.local_code.append("%s = clamp(%s, vec4(0.0), vec4(1.0))")
self.local_code.append("%s = clamp(%s, vec4(0.0), vec4(1.0))" % (out_color_id, out_color_id))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pylint error: line too long

@Jason0214 Jason0214 merged commit d2a726d into godotengine:master Dec 9, 2019
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