mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-26 21:35:16 +00:00
do not recreate tree model every time
This commit is contained in:
@@ -278,7 +278,7 @@ public final class SWF implements SWFContainerItem, Timelined {
|
||||
|
||||
@Internal
|
||||
public SWFBundle bundle;
|
||||
|
||||
|
||||
@Internal
|
||||
private Timeline timeline;
|
||||
|
||||
@@ -865,6 +865,15 @@ public final class SWF implements SWFContainerItem, Timelined {
|
||||
return this;
|
||||
}
|
||||
|
||||
public SWF getRootSwf() {
|
||||
SWF result = this;
|
||||
while (result.binaryData != null) {
|
||||
result = result.binaryData.getSwf();
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
public String getFile() {
|
||||
return file;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user