mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 13:50:45 +00:00
Fixed: #1650 Empty search results from history after reloading SWF file
This commit is contained in:
@@ -46,6 +46,7 @@ import com.jpexs.decompiler.flash.gui.debugger.DebuggerTools;
|
||||
import com.jpexs.decompiler.flash.gui.pipes.FirstInstance;
|
||||
import com.jpexs.decompiler.flash.gui.proxy.ProxyFrame;
|
||||
import com.jpexs.decompiler.flash.helpers.SWFDecompilerPlugin;
|
||||
import com.jpexs.decompiler.flash.tags.DefineBinaryDataTag;
|
||||
import com.jpexs.decompiler.flash.tags.Tag;
|
||||
import com.jpexs.decompiler.flash.tags.base.FontTag;
|
||||
import com.jpexs.decompiler.flash.tags.base.ImportTag;
|
||||
@@ -720,6 +721,18 @@ public class Main {
|
||||
});
|
||||
}
|
||||
|
||||
public static void populateSwfs(SWF swfParent, List<SWF> output) {
|
||||
for (Tag t : swfParent.getTags()) {
|
||||
if (t instanceof DefineBinaryDataTag) {
|
||||
DefineBinaryDataTag b = (DefineBinaryDataTag) t;
|
||||
if (b.innerSwf != null) {
|
||||
output.add(b.innerSwf);
|
||||
populateSwfs(b.innerSwf, output);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static SWFList parseSWF(SWFSourceInfo sourceInfo) throws Exception {
|
||||
SWFList result = new SWFList();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user