fix: Remember the location a shader was loaded from & improve functionality
This commit is contained in:
parent
1304ecd198
commit
68185fa9ec
3 changed files with 5 additions and 6 deletions
|
@ -231,7 +231,7 @@ func _on_open_shader_dialog_file_selected(path):
|
|||
Globals.shader = shader
|
||||
Globals.target_viewport.update()
|
||||
update()
|
||||
last_save_filepath = ""
|
||||
last_save_filepath = path
|
||||
|
||||
func _on_save_shader_dialog_file_selected(path):
|
||||
var file = FileAccess.open(path, FileAccess.WRITE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue