Fixed: fontFace html attribute in DefineEditText can be also an exportName

Fixed: BUTTONRECORD preview not showing in situations like GFX or importAssets
Changed: ImportAssets tag reorganized - now imported items are not in the tag tree, but when referenced it works
This commit is contained in:
Jindra Petřík
2024-08-05 11:17:25 +02:00
parent 4c2a2e5374
commit 441a570299
36 changed files with 346 additions and 314 deletions
@@ -184,11 +184,14 @@ public class ReplaceCharacterDialog extends AppDialog {
}
public int showDialog(SWF swf, int selectedCharacterId) {
Map<Integer, CharacterTag> characters = swf.getCharacters();
Map<Integer, CharacterTag> characters = swf.getCharacters(false);
fullModel = new DefaultListModel<>();
fullModel.clear();
for (Integer key : characters.keySet()) {
CharacterTag character = characters.get(key);
if (character.isImported()) {
continue;
}
int characterId = character.getCharacterId();
if (characterId != selectedCharacterId) {
fullModel.addElement(new ComboBoxItem<>(character.getName(), character));