1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-02-20 12:33:14 +00:00

Fix clear_canvases() call in ImportSprites.

This commit is contained in:
novhack 2020-04-10 20:37:24 +02:00
parent 99f847e732
commit 4b7c0ca713

View file

@ -32,7 +32,7 @@ func _on_VerticalFrames_value_changed(value) -> void:
func _on_ImportSprites_files_selected(paths : PoolStringArray) -> void:
Global.control.opensprite_file_selected = true
if !new_frame: # If we're not adding a new frame, delete the previous
Global.control.clear_canvases()
Global.clear_canvases()
var first_path : String = paths[0]
var i : int = Global.canvases.size()