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.
This commit is contained in:
OverloadedOrama 2020-06-04 21:05:36 +03:00
parent 9d38cbd13e
commit 4e111a7ac0
21 changed files with 656 additions and 627 deletions

View file

@ -58,6 +58,11 @@ _global_script_classes=[ {
"class": "PaletteColor",
"language": "GDScript",
"path": "res://src/Palette/PaletteColor.gd"
}, {
"base": "Reference",
"class": "Project",
"language": "GDScript",
"path": "res://src/Classes/Project.gd"
} ]
_global_script_class_icons={
"AnimationTag": "",
@ -69,7 +74,8 @@ _global_script_class_icons={
"Layer": "",
"LayerButton": "",
"Palette": "",
"PaletteColor": ""
"PaletteColor": "",
"Project": ""
}
[application]