Don't include untagged frames in the export when we use split tags option

This commit is contained in:
David Capello 2019-11-19 11:22:09 -03:00
parent f6dea3dfbf
commit a60fea2e5f

View File

@ -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);
}
}
}