Nullpointer fix

This commit is contained in:
Jindra Petřík
2022-12-26 14:13:49 +01:00
parent d5d9007219
commit 0914ae79cc

View File

@@ -3112,6 +3112,9 @@ public final class ImagePanel extends JPanel implements MediaDisplay {
}
private Rectangle2D getTransformBounds() {
if (timelined == null) {
return null;
}
int time = frozen ? 0 : this.time;
DepthState ds = null;
Timeline timeline = timelined.getTimeline();