1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 09:09:47 +00:00

You can now drag and drop/"open with" image files

Thanks to OS.get_cmdline_args(). Support for .pxo files will be coming soon.
This commit is contained in:
OverloadedOrama 2020-02-09 03:13:12 +02:00
parent 3fbd1d35eb
commit 45a31faa7b
2 changed files with 4 additions and 0 deletions

View file

@ -15,6 +15,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- It is now possible to remove custom brushes with the middle mouse button.
- Added HSV mode to the color picker. (Added automatically because of the Godot 3.2 update)
- Lanczos scaling interpolation. (Added because of the Godot 3.2 update)
- You can now drag and drop (or right click and open with) image files in Pixelorama.
### Changed
- Major changes to alpha blending behavior. The alpha values now get added/blended together instead of just replacing the pixel with the new value.

View file

@ -15,6 +15,9 @@ func _ready() -> void:
remove_child(child)
get_vbox().add_child(child)
if OS.get_cmdline_args():
_on_ImportSprites_files_selected(OS.get_cmdline_args())
func _on_ImportAsNewFrame_pressed() -> void:
new_frame = !new_frame