diff --git a/material_maker/windows/material_editor/export_editor.gd b/material_maker/windows/material_editor/export_editor.gd index c8fbc831..6688fdc0 100644 --- a/material_maker/windows/material_editor/export_editor.gd +++ b/material_maker/windows/material_editor/export_editor.gd @@ -155,6 +155,7 @@ func _on_Save_Export_pressed(): if files.size() > 0: var export_name : String = export_target.get_item_text(export_target.selected) var export_data : Dictionary = exports[export_name].duplicate() + export_data.name = export_name if data.has("template_name"): export_data.material = data.template_name var file : File = File.new() diff --git a/material_maker/windows/material_editor/expression_line_edit.gd b/material_maker/windows/material_editor/expression_line_edit.gd index 40fcdfa6..2dbf6c89 100644 --- a/material_maker/windows/material_editor/expression_line_edit.gd +++ b/material_maker/windows/material_editor/expression_line_edit.gd @@ -13,4 +13,4 @@ func _on_Button_pressed(): func set_value_from_expression_editor(v : String): text = v - emit_signal("text_entered") + emit_signal("text_entered", v)