Fixed issue where new images had the size of the previous project

This commit is contained in:
OverloadedOrama 2020-06-09 18:44:08 +03:00
parent 66feec8f21
commit 8118381b0b
4 changed files with 7 additions and 4 deletions

View file

@ -1,5 +1,7 @@
class_name Cel extends Reference
# A class for cel properties
# A class for cel properties.
# The term "cel" comes from "celluloid" (https://en.wikipedia.org/wiki/Cel).
# The "image" variable is where the image data of each cel are.
var image : Image setget image_changed

View file

@ -5,5 +5,6 @@ class_name Frame extends Reference
var cels : Array # An array of Cels
func _init(_cels := []) -> void:
cels = _cels