mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 05:24:43 -04:00
Added AnimationTag class
Replaces nested Global.animation_tags arrays. Also replaced array.duplicate(true) with looping through the array and creating a new class for each array element, because duplicate(true) does not create new classes, unfortunately, which was causing issues with undo/redo.
This commit is contained in:
parent
e229ad1519
commit
34bc528e97
14 changed files with 134 additions and 83 deletions
|
@ -9,6 +9,11 @@
|
|||
config_version=4
|
||||
|
||||
_global_script_classes=[ {
|
||||
"base": "Reference",
|
||||
"class": "AnimationTag",
|
||||
"language": "GDScript",
|
||||
"path": "res://src/Classes/AnimationTag.gd"
|
||||
}, {
|
||||
"base": "Node2D",
|
||||
"class": "Canvas",
|
||||
"language": "GDScript",
|
||||
|
@ -17,7 +22,7 @@ _global_script_classes=[ {
|
|||
"base": "Reference",
|
||||
"class": "Cel",
|
||||
"language": "GDScript",
|
||||
"path": "res://src/Cel.gd"
|
||||
"path": "res://src/Classes/Cel.gd"
|
||||
}, {
|
||||
"base": "Line2D",
|
||||
"class": "Guide",
|
||||
|
@ -27,7 +32,7 @@ _global_script_classes=[ {
|
|||
"base": "Reference",
|
||||
"class": "Layer",
|
||||
"language": "GDScript",
|
||||
"path": "res://src/Layer.gd"
|
||||
"path": "res://src/Classes/Layer.gd"
|
||||
}, {
|
||||
"base": "Button",
|
||||
"class": "LayerButton",
|
||||
|
@ -45,6 +50,7 @@ _global_script_classes=[ {
|
|||
"path": "res://src/Palette/PaletteColor.gd"
|
||||
} ]
|
||||
_global_script_class_icons={
|
||||
"AnimationTag": "",
|
||||
"Canvas": "",
|
||||
"Cel": "",
|
||||
"Guide": "",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue