Compare commits

...

No commits in common. "main" and "0.1" have entirely different histories.
main ... 0.1

3 changed files with 4 additions and 3 deletions

View File

@ -10,9 +10,9 @@ local function ExportSpritesheetAdvanced()
local spr = Sprite(app.sprite)
l.RevealLayers(spr.layers)
l.DeleteLayers(spr, spr.layers)
l.FlattenLayers(spr.layers)
l.RevealLayers(spr.layers)
app.command.ExportSpriteSheet {
splitLayers = true
@ -46,7 +46,7 @@ local function ToggleExportAsSprite()
merge = true
end
end
for _, layer in ipairs(app.range.layers) do
p.SetMerged(layer, merge)
c.SetColorFromRoot(layer)

View File

@ -34,6 +34,7 @@ local function FlattenLayers(layers)
end
-- Makes all layers visible.
-- This should be called after deleteLayers and flattenLayers
local function RevealLayers(layers)
for _, layer in ipairs(layers) do
if layer.isGroup then

View File

@ -2,7 +2,7 @@
"name": "advanced-spritesheets",
"displayName": "Advanced Spritesheets",
"description": "Improved spritesheet export functionality for Aseprite.",
"version": "0.1.1",
"version": "0.1",
"author": { "name": "Anna Wiggins",
"email": "annabunches@gmail.com",
"url": "https://annabunches.net" },