Fixed #1970 FLA export - do not strip empty frames at the end of timeline

This commit is contained in:
Jindra Petřík
2023-02-12 13:15:42 +01:00
parent b805ca2ac4
commit 5ff41c89dd
2 changed files with 5 additions and 1 deletions

View File

@@ -2469,7 +2469,8 @@ public class XFLConverter {
}
}
}
if (!lastElements.isEmpty()) {
if (!lastElements.isEmpty() || writer2.length() > 0)
{
frame++;
convertFrame(false, null, null, (frame - duration < 0 ? 0 : frame - duration), duration, "", lastElements, files, writer2);
}