From b36d44eb06c7d26e0ccb2b7460d7cde5a57daa0b Mon Sep 17 00:00:00 2001 From: RodZill4 Date: Wed, 9 Jan 2019 07:36:30 +0100 Subject: [PATCH] Fixed problem in export node (failure when exporting) --- addons/material_maker/renderer.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/material_maker/renderer.gd b/addons/material_maker/renderer.gd index 79d6e2e..ad68929 100644 --- a/addons/material_maker/renderer.gd +++ b/addons/material_maker/renderer.gd @@ -84,7 +84,7 @@ func render_shader_to_viewport(shader, textures, render_size, method, args): render_queue.pop_front() func render_to_viewport(node, render_size, method, args): - render_shader_to_viewport(node.generate_shader_with_globals(), node.get_textures(), render_size, method, args) + render_shader_to_viewport(node.generate_shader(), node.get_textures(), render_size, method, args) func export_texture(node, filename, render_size = 256): if node == null: