fix: re-enable buttons after image export

This commit is contained in:
ChaoticByte 2025-03-15 20:40:11 +01:00
parent e7bb3c8f16
commit 4546b9eac0
No known key found for this signature in database
5 changed files with 13 additions and 12 deletions

View file

@ -3,15 +3,15 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://c1mh1d2f3u4ju" uid="uid://c1mh1d2f3u4ju"
path="res://.godot/imported/grass.png-e7f2e70f93a662a3b1efd9b08f855f48.ctex" path="res://.godot/imported/grass.png-61a458998da568ce60ccb8a0c7caaf6d.ctex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://images/grass.png" source_file="res://examples/images/grass.png"
dest_files=["res://.godot/imported/grass.png-e7f2e70f93a662a3b1efd9b08f855f48.ctex"] dest_files=["res://.godot/imported/grass.png-61a458998da568ce60ccb8a0c7caaf6d.ctex"]
[params] [params]

View file

@ -3,15 +3,15 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://ben72llmopgaj" uid="uid://ben72llmopgaj"
path="res://.godot/imported/mountain.jpg-0440787a185324ac75e46cccd821b0a8.ctex" path="res://.godot/imported/mountain.jpg-c1b7de1e6557b826bc6f9324027e11af.ctex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://images/mountain.jpg" source_file="res://examples/images/mountain.jpg"
dest_files=["res://.godot/imported/mountain.jpg-0440787a185324ac75e46cccd821b0a8.ctex"] dest_files=["res://.godot/imported/mountain.jpg-c1b7de1e6557b826bc6f9324027e11af.ctex"]
[params] [params]

View file

@ -3,15 +3,15 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://cfe2d0qes5x87" uid="uid://cfe2d0qes5x87"
path="res://.godot/imported/noisy.png-3f6c52addfb8a3af4691cee35862a845.ctex" path="res://.godot/imported/noisy.png-1b2e79340785c6c0f50d5bad5ce97356.ctex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://images/noisy.png" source_file="res://examples/images/noisy.png"
dest_files=["res://.godot/imported/noisy.png-3f6c52addfb8a3af4691cee35862a845.ctex"] dest_files=["res://.godot/imported/noisy.png-1b2e79340785c6c0f50d5bad5ce97356.ctex"]
[params] [params]

View file

@ -3,15 +3,15 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://ckjb0agn5btv7" uid="uid://ckjb0agn5btv7"
path="res://.godot/imported/swamp.jpg-fdb37a8d8f6354d8ccf128b489086ba2.ctex" path="res://.godot/imported/swamp.jpg-1dfdcd52a5ef03d42a82a7f06acefa98.ctex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://images/swamp.jpg" source_file="res://examples/images/swamp.jpg"
dest_files=["res://.godot/imported/swamp.jpg-fdb37a8d8f6354d8ccf128b489086ba2.ctex"] dest_files=["res://.godot/imported/swamp.jpg-1dfdcd52a5ef03d42a82a7f06acefa98.ctex"]
[params] [params]

View file

@ -72,6 +72,7 @@ func _on_open_shader_dialog_confirmed() -> void:
func _on_save_image_dialog_file_selected(path): func _on_save_image_dialog_file_selected(path):
Filesystem.save_result(path) Filesystem.save_result(path)
set_buttons_disabled(false)
func _on_save_image_dialog_canceled() -> void: func _on_save_image_dialog_canceled() -> void:
set_buttons_disabled(false) set_buttons_disabled(false)