mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 05:34:43 -04:00
Made a Frame class, no longer use multiple Canvases for multiple frames
The Canvas is now single node, instead of having multiple canvases for each frame. This should also be a performance optimization, since there are less canvas nodes, so there are less _input() calls. It should also fix a rare Undo/Redo issue with motion drawing and making lines. Could be unstable, needs more testing. As a side effect, the guides are now the same for all frames, so this should also close #246.
This commit is contained in:
parent
d8136a3e17
commit
54b628f6cb
17 changed files with 412 additions and 459 deletions
|
@ -24,6 +24,11 @@ _global_script_classes=[ {
|
|||
"language": "GDScript",
|
||||
"path": "res://src/Classes/Cel.gd"
|
||||
}, {
|
||||
"base": "Reference",
|
||||
"class": "Frame",
|
||||
"language": "GDScript",
|
||||
"path": "res://src/Classes/Frame.gd"
|
||||
}, {
|
||||
"base": "Line2D",
|
||||
"class": "Guide",
|
||||
"language": "GDScript",
|
||||
|
@ -53,6 +58,7 @@ _global_script_class_icons={
|
|||
"AnimationTag": "",
|
||||
"Canvas": "",
|
||||
"Cel": "",
|
||||
"Frame": "",
|
||||
"Guide": "",
|
||||
"Layer": "",
|
||||
"LayerButton": "",
|
||||
|
@ -71,7 +77,7 @@ boot_splash/bg_color=Color( 0.145098, 0.145098, 0.164706, 1 )
|
|||
config/icon="res://assets/graphics/icons/icon.png"
|
||||
config/macos_native_icon="res://assets/graphics/icons/icon.icns"
|
||||
config/windows_native_icon="res://assets/graphics/icons/icon.ico"
|
||||
config/Version="v0.7"
|
||||
config/Version="v0.7.1"
|
||||
|
||||
[autoload]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue