mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-30 23:14:52 +00:00
Add frames beyond SWF framecount
This commit is contained in:
@@ -234,6 +234,20 @@ public class Timeline {
|
||||
}
|
||||
return frames.get(index);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets depth state at specified frame and depth
|
||||
* @param frame Frame
|
||||
* @param depth Depth
|
||||
* @return DepthState or null if it does not exist or frame does not exist
|
||||
*/
|
||||
public synchronized DepthState getDepthState(int frame, int depth) {
|
||||
Frame fr = getFrame(frame);
|
||||
if (fr == null) {
|
||||
return null;
|
||||
}
|
||||
return fr.layers.get(depth);
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds a frame.
|
||||
|
||||
Reference in New Issue
Block a user