mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 10:24:44 -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
|
@ -1,9 +1,9 @@
|
|||
extends Node
|
||||
|
||||
|
||||
const Drawer = preload("res://src/Drawers.gd").Drawer
|
||||
const SimpleDrawer = preload("res://src/Drawers.gd").SimpleDrawer
|
||||
const PixelPerfectDrawer = preload("res://src/Drawers.gd").PixelPerfectDrawer
|
||||
const Drawer = preload("res://src/Classes/Drawers.gd").Drawer
|
||||
const SimpleDrawer = preload("res://src/Classes/Drawers.gd").SimpleDrawer
|
||||
const PixelPerfectDrawer = preload("res://src/Classes/Drawers.gd").PixelPerfectDrawer
|
||||
|
||||
var pixel_perfect_drawer := PixelPerfectDrawer.new()
|
||||
var pixel_perfect_drawer_h_mirror := PixelPerfectDrawer.new()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue