From a60fea2e5fcc3cfa2c09fbd09d85f0d121e2d795 Mon Sep 17 00:00:00 2001 From: David Capello Date: Tue, 19 Nov 2019 11:22:09 -0300 Subject: [PATCH] Don't include untagged frames in the export when we use split tags option --- src/app/doc_exporter.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/doc_exporter.cpp b/src/app/doc_exporter.cpp index 81993a8ec..0ada8c544 100644 --- a/src/app/doc_exporter.cpp +++ b/src/app/doc_exporter.cpp @@ -767,7 +767,9 @@ int DocExporter::addDocumentSamples( const Tag* tag = doc->sprite()->tags().innerTag(frame); if (oldTag != tag) { oldTag = tag; - tags.push_back(tag); + // Do not include untagged frames + if (tag) + tags.push_back(tag); } } }