tag recompile checking moved after tag resolve, other small fixes

This commit is contained in:
Honfika
2014-03-18 22:03:08 +01:00
parent 5d76a98324
commit b298ca7e25
4 changed files with 37 additions and 46 deletions
@@ -592,7 +592,7 @@ public final class SWF implements TreeItem, Timelined {
} else {
boolean hasNonUnknownTag = false;
for (Tag tag : tags) {
if (tag.getData().length > 0 && Tag.getRequiredTags().contains(tag.getId())) {
if (tag.getOriginalData().length > 0 && Tag.getRequiredTags().contains(tag.getId())) {
hasNonUnknownTag = true;
}
}