OverloadedOrama
76af8a3214
Change paths in the open/save dialogs when switching project
2020-06-09 20:19:55 +03:00
OverloadedOrama
01ce3a3932
When opening a project and the current tab is empty, open it in that tab
...
If the current project is empty (only 1 layer and frame, no tags and the image has no content - is invisible) and the user is opening a project, then the opened project will not open a new tab of its own, and will use the currently opened one instead.
2020-06-07 01:48:35 +03:00
OverloadedOrama
709a401373
Save backups for all opened projects
...
current_save_paths and backup_save_paths in OpenSave.gd are arrays now, have paths for every project
2020-06-06 02:16:53 +03:00
OverloadedOrama
2c409ab025
Camera zoom and offset are now project properites
...
The zoom/offset of the three cameras now get saved in each project, and change when you change project.
2020-06-05 21:03:34 +03:00
OverloadedOrama
9ffce37c0b
An asterisk is added to the tab name if there are changes
...
The window title also changes when switching tabs. And yes, "has_changed_changed" is a stupid method name, I'll find another one sometime later.
2020-06-05 20:15:40 +03:00
OverloadedOrama
6d87901056
Imported image files now open in an new tab
...
Keep in mind that opening an image file as a new frame might not work properly yet, if the target image has a different size.
2020-06-05 19:51:06 +03:00
OverloadedOrama
1b1c7f844f
.pxo files now get opened in a new tab
2020-06-05 18:54:11 +03:00
OverloadedOrama
7a61f1ea4a
Fixed issue where the wrong amount of cels were being created
...
The new image's frames had as many cels as the previously selected project
2020-06-05 18:19:05 +03:00
OverloadedOrama
b276999b12
Closing tabs is now possible
2020-06-05 17:50:52 +03:00
OverloadedOrama
4af130bc61
Project brushes change when switching projects
...
A new Global.file_brushes array is used for the file brushes, and the Project class has its own brushes array for the project brushes
2020-06-05 17:21:35 +03:00
OverloadedOrama
736521246d
Change guides when switching project
2020-06-05 16:21:19 +03:00
OverloadedOrama
fc03e83377
Change the selection rectangle when switching projects
2020-06-05 16:14:57 +03:00
OverloadedOrama
35969b2f67
Moved the _min and _max variables to Project.gd
2020-06-05 16:06:59 +03:00
OverloadedOrama
ae381a8714
Change canvas and timeline when a tab is being pressed
2020-06-05 04:30:31 +03:00
OverloadedOrama
709a6d470e
Added basic UI for tabs
2020-06-05 02:48:38 +03:00
OverloadedOrama
f9bd590d20
Moved size variable from Canvas.gd to Project.gd
2020-06-04 23:20:20 +03:00
OverloadedOrama
4e111a7ac0
Created a Projects class
...
A Project class contains project-specific data like name, undo_redo, frames, layers, tags and brushes. These variables have been moved from Global. This is the first step towards multiple tab support, where each tab will be a different Project.
2020-06-04 21:05:36 +03:00