mirror of
https://github.com/Relintai/material-maker.git
synced 2024-11-13 06:27:18 +01:00
Fixed problem in export node (failure when exporting)
This commit is contained in:
parent
65a08b4650
commit
b36d44eb06
@ -84,7 +84,7 @@ func render_shader_to_viewport(shader, textures, render_size, method, args):
|
|||||||
render_queue.pop_front()
|
render_queue.pop_front()
|
||||||
|
|
||||||
func render_to_viewport(node, render_size, method, args):
|
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):
|
func export_texture(node, filename, render_size = 256):
|
||||||
if node == null:
|
if node == null:
|
||||||
|
Loading…
Reference in New Issue
Block a user