mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 17:19:50 +00:00
Don't set Global.saved = true, change the window title and show a notification if a .pxo failed to get saved
This commit is contained in:
parent
eab57cf327
commit
4b2930fe67
|
@ -6,7 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||||
## [v0.7] - Unreleased
|
## [v0.7] - Unreleased
|
||||||
This update has been brought to you by the contributions of:
|
This update has been brought to you by the contributions of:
|
||||||
|
|
||||||
Martin Novák (novhack), Darshan Phaldesai (luiq54), Schweini07, Marco Galli (Gaarco), Matheus Pesegoginski (MatheusPese), sapient-cogbag, Kinwailo, Igor Santarek (jegor377)
|
Martin Novák (novhack), Darshan Phaldesai (luiq54), Schweini07, Marco Galli (Gaarco), Matheus Pesegoginski (MatheusPese),
|
||||||
|
sapient-cogbag, Kinwailo, Igor Santarek (jegor377), Dávid Gábor BODOR (dragonfi)
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
- Cels are now in the timeline. Each cel refers to a specific layer AND a frame. Frames are a collection of cels for every layer.
|
- Cels are now in the timeline. Each cel refers to a specific layer AND a frame. Frames are a collection of cels for every layer.
|
||||||
|
|
|
@ -209,10 +209,10 @@ func save_pxo_file(path : String) -> void:
|
||||||
file.store_8(tag[3]) # Tag "to", the last frame
|
file.store_8(tag[3]) # Tag "to", the last frame
|
||||||
file.store_line("END_FRAME_TAGS")
|
file.store_line("END_FRAME_TAGS")
|
||||||
|
|
||||||
|
if !Global.saved:
|
||||||
|
Global.saved = true
|
||||||
|
|
||||||
|
Global.window_title = current_save_path.get_file() + " - Pixelorama"
|
||||||
|
Global.notification_label("File saved")
|
||||||
file.close()
|
file.close()
|
||||||
|
|
||||||
if !Global.saved:
|
|
||||||
Global.saved = true
|
|
||||||
|
|
||||||
Global.window_title = current_save_path.get_file() + " - Pixelorama"
|
|
||||||
Global.notification_label("File saved")
|
|
||||||
|
|
Loading…
Reference in a new issue