AnalyticalGraphicsInc / STKCodeExamples

Example scripts and applications for automating and developing with STK and STK Engine.
https://support.agi.com/
MIT License
190 stars 135 forks source link

Fix dynamic sensor masking bug #227

Closed alexander-lam closed 1 year ago

alexander-lam commented 1 year ago

Describe the changes in this pull request

This change fixes a bug that occurs when mask sample start time is 0 EpSec and access exists. When this happens, the first interval start time gets removed and errors or incorrect time intervals are generated. This fix mitigates this issue by checking if the condition is met and then preserving the first interval if it is.

Checklist before requesting a review