mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-22 05:23:14 +00:00
Fix clear_canvases() call in ImportSprites.
This commit is contained in:
parent
99f847e732
commit
4b7c0ca713
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ func _on_VerticalFrames_value_changed(value) -> void:
|
||||||
func _on_ImportSprites_files_selected(paths : PoolStringArray) -> void:
|
func _on_ImportSprites_files_selected(paths : PoolStringArray) -> void:
|
||||||
Global.control.opensprite_file_selected = true
|
Global.control.opensprite_file_selected = true
|
||||||
if !new_frame: # If we're not adding a new frame, delete the previous
|
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 first_path : String = paths[0]
|
||||||
var i : int = Global.canvases.size()
|
var i : int = Global.canvases.size()
|
||||||
|
|
Loading…
Add table
Reference in a new issue