From e73a30057b0741ab1ca6b738ecd939b625fa273c Mon Sep 17 00:00:00 2001 From: David Capello Date: Wed, 10 Jun 2020 12:03:53 -0300 Subject: [PATCH] Add test for https://github.com/aseprite/aseprite/issues/2380 --- cli/sheet.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/cli/sheet.sh b/cli/sheet.sh index 6aa801142..09ed5561d 100644 --- a/cli/sheet.sh +++ b/cli/sheet.sh @@ -301,3 +301,18 @@ for i = 1,#data1.frames do end EOF $ASEPRITE -b -script "$d/compare.lua" || exit 1 + +# https://github.com/aseprite/aseprite/issues/2380 +# Check that -split-layers and -list-layers include group information +d=$t/issue-2380 +$ASEPRITE -b -trim -all-layers "sprites/groups3abc.aseprite" -data "$d/sheet1.json" -format json-array -sheet "$d/sheet1.png" -list-layers +$ASEPRITE -b -trim -all-layers -split-layers "sprites/groups3abc.aseprite" -data "$d/sheet2.json" -format json-array -sheet "$d/sheet2.png" -list-layers +cat >$d/check.lua <