Merge branch 'master_14.3.1' into asm_14.3.1
Former-commit-id:43ecc95cb9
[formerlycb92ade16f
] [formerly41e3037133
] [formerly43ecc95cb9
[formerlycb92ade16f
] [formerly41e3037133
] [formerlye6ac4980b9
[formerly41e3037133
[formerly b0fef17ac648ed5d13d6125fa600c915b131147d]]]] Former-commit-id:e6ac4980b9
Former-commit-id:840bca2edd
[formerly64fb434c9a
] [formerly 047945540310783288fda381c73f597a6cb18c3a [formerly75e90d1117
]] Former-commit-id: 182ff9272bf1aef74c86d753b92d2fa40948da52 [formerlyb16e50a929
] Former-commit-id:ffe2894555
This commit is contained in:
commit
170dd119bd
1 changed files with 4 additions and 1 deletions
|
@ -102,7 +102,7 @@ import de.micromata.opengis.kml.v_2_2_0.Vec2;
|
|||
* ------------- -------- ----------- --------------------------
|
||||
* Jun0 6, 2012 bsteffen Initial creation
|
||||
* Jan 23, 2014 2703 bsteffen Use framesInfo for frame count.
|
||||
*
|
||||
* Oct 06, 2014 3686 njensen Ensure lastIndex is at least 1
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -305,6 +305,8 @@ public class KmlExportJob extends Job {
|
|||
int lastIndex = options.getLastFrameIndex();
|
||||
lastIndex = Math.min(lastIndex, descriptor.getFramesInfo()
|
||||
.getFrameCount());
|
||||
// in case there's zero frames (i.e. all time agnostic)
|
||||
lastIndex = Math.max(lastIndex, 1);
|
||||
rscmonitor.beginTask("Saving " + rsc.getName(), lastIndex
|
||||
- startIndex);
|
||||
DataTime[] times = descriptor.getFramesInfo().getTimeMap()
|
||||
|
@ -321,6 +323,7 @@ public class KmlExportJob extends Job {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
List<DataTime> pastFrames = new ArrayList<DataTime>();
|
||||
for (int i = startIndex; i < lastIndex; i += 1) {
|
||||
descriptor.setFramesInfo(new FramesInfo(i));
|
||||
|
|
Loading…
Add table
Reference in a new issue