Add ZSTD compression to save files. Move clear_canvases() to Global.gd

This commit is contained in:
novhack 2020-04-10 00:06:24 +02:00
parent 237b8c1507
commit 99f847e732
3 changed files with 20 additions and 18 deletions

View file

@ -30,7 +30,7 @@ func _on_CreateNewImage_confirmed() -> void:
var width : int = width_value.value
var height : int = height_value.value
var fill_color : Color = fill_color_node.color
Global.control.clear_canvases()
Global.clear_canvases()
Global.layers.clear()
# Store [Layer name (0), Layer visibility boolean (1), Layer lock boolean (2), Frame container (3),
# will new frames be linked boolean (4), Array of linked frames (5)]