mirror of https://github.com/rusefi/jzy3d-api.git
This commit is contained in:
parent
3fc38bc645
commit
37be906c85
|
@ -386,9 +386,14 @@ public class TestGifExporter {
|
|||
|
||||
for (int i = 0; i < d.getFrameCount(); i++) {
|
||||
int t = d.getDelay(i);
|
||||
System.out.println(t);
|
||||
duration += t;
|
||||
}
|
||||
|
||||
if(d.getFrameCount()==0) {
|
||||
System.err.println("WARNING : there was no image in the file " + file.getAbsolutePath());
|
||||
}
|
||||
|
||||
return duration;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue