Skip to content

Commit

Permalink
Removed unnecessary save functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
RampantDespair committed Jun 8, 2023
1 parent 1fa6b19 commit 72f4db0
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Aseprite-Exporter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -283,11 +283,6 @@ dlg:label{
label = " ",
text = " "
}
dlg:check{
id = "saveSprite",
label = "Save Sprite:",
selected = true
}

dlg:button{id = "confirm", text = "Confirm"}
dlg:button{id = "cancel", text = "Cancel"}
Expand Down Expand Up @@ -318,8 +313,6 @@ hideLayers(activeSprite)
export(activeSprite, activeSprite, fileName, fileNameTemplate, dlg.data)
restoreLayers(activeSprite, layerVisibilityData)

if dlg.data.saveSprite then activeSprite:saveAs(dlg.data.outputFile) end

app.alert("Exported " .. layerCount .. " layers to " .. dlg.data.outputPath)

return 0

0 comments on commit 72f4db0

Please sign in to comment.