Skip to content

Commit

Permalink
Fix dodgy parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
SonnyBonds committed Aug 24, 2019
1 parent 1eb6c32 commit b12820e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ def parse_node_to_fragment(self):
tex_coord_socket = self.bl_node.inputs[0]
tex_coord = self.in_sockets_map[tex_coord_socket]
if not tex_coord_socket.is_linked:
self.local_code.append("%s = vec3UV, 0.0" % tex_coord)
self.local_code.append("%s = vec3(UV, 0.0)" % tex_coord)

tex_var = self.generate_tmp_texture_id(self.bl_node.name)
if self.bl_node.image is not None:
Expand Down

0 comments on commit b12820e

Please sign in to comment.