Commit graph

14 commits

Author SHA1 Message Date
OverloadedOrama
62bbad7374 Confirmation dialog for "open last project" menu option when there are unsaved changes
Changed text in UnsavedCanvasDialog and renamed Global.saved to Global.project_has_changed (the boolean values are now opposite)
2020-05-01 19:40:36 +03:00
OverloadedOrama
3f1c81ac13 Fixed crash when creating a new image and a layer had opacity less than 100%
Caused in CreateNewImage.gd, Global.current_layer = 0 should be under Global.canvas gets set to a new canvas, and after its _ready() method gets executed. The crash occurred when a layer above 0 had transparency less than 100, and a new image was created. _on_OpacitySlider_value_changed() in AnimationTimeline.gd was executed on the old canvas right before it was destroyed, while Global.layers had been cleared.

Also removed _on_OpacitySlider_value_changed() from Main.gd, it served no purpose there.
2020-04-11 05:36:51 +03:00
Manolis Papadeas
aff8b6a654
Merge pull request #194 from novhack/pxo-compression
Move open/save functions to a separate file and clean up. Add ZSTD compression.
2020-04-10 21:39:26 +03:00
Matheus Pesegoginski
6213eddb7e Added new Template Resolutions based on console resolutions, and changed the way the resolution templates works for easier edition.
Update CreateNewImage.tscn and CreateNewImage.gd
2020-04-10 15:19:44 -03:00
novhack
99f847e732 Add ZSTD compression to save files. Move clear_canvases() to Global.gd 2020-04-10 00:06:24 +02:00
OverloadedOrama
76194f3c85 Added luiq54 to the list of contributors 2020-04-03 03:25:56 +03:00
Marco Galli
1efec81a6b
Improved CreateNewImage dialog #178 (#181)
* Sync fork

* Added 'Lock aspect ratio' when creating a new image

* Added common templates in 'CreateNewImage' dialog

* Last fix

* Added translation strings
2020-04-03 03:12:42 +03:00
OverloadedOrama
30e8522677 Set Global.saved = true when creating a new image 2020-04-02 15:28:47 +03:00
OverloadedOrama
a60efccbfd Added a boolean to check if new frames will be linked and an array of linked frames to Global.layers
This doesn't add any new functionality right now
2020-03-14 21:40:10 +02:00
OverloadedOrama
67c243b189 Fixed issues when creating new image 2020-03-11 01:07:35 +02:00
Manolis Papadeas
c59182019c
Fixed "fill_color variable already declared" warning 2020-01-11 00:11:36 +02:00
Marco
7b0251fdfa Image preferences and its translations 2020-01-10 20:24:07 +01:00
OverloadedOrama
be91e65c55 Import as new frame on ImportSprites dialog now ticked on by default 2019-12-30 04:06:37 +02:00
OverloadedOrama
3ae679fe00 Choose how many rows or columns when exporting spritesheet
Also made CreateNewImage.tscn, ScaleImage.tscn and OutlineDialogn.tscn scenes of their own, with their respective scripts.
2019-12-30 00:24:37 +02:00