diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-05 00:17:19 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-05 00:17:19 +0100 |
| commit | e2543192e90a43a26444a27ccc3b49276a944b2c (patch) | |
| tree | 238f43bd8737a8d62a95abb60e759f54e399daa9 /assets/final/shaders/render/shadows.wgsl | |
| parent | 873fa985bb4b3ec3841fa77adc16a99184cb9507 (diff) | |
fix: Correct sequence end time calculation in Gantt charts
Fixes bug where all sequences appeared to run until demo end time instead
of their actual end times in Gantt chart visualizations.
Issue:
- Both ASCII and HTML Gantt generators initialized seq_end to max_time
- This caused all sequences to display full demo duration
- Example: SEQ@0s showed (0-36s) instead of actual (0-2s)
Fix:
- Initialize seq_end to seq_start instead of max_time
- Calculate actual end from effects or explicit [end_time]
- Sequences now show correct duration in visualizations
Before:
SEQ@0s [pri=0] (0-36s) # Wrong - shows full demo duration
SEQ@2s [pri=0] (2-36s) # Wrong
After:
SEQ@0s [pri=0] (0-2s) # Correct - shows actual sequence duration
SEQ@2s [pri=0] (2-5s) # Correct
This makes Gantt charts much more accurate for understanding actual
sequence overlap and timing relationships.
Diffstat (limited to 'assets/final/shaders/render/shadows.wgsl')
0 files changed, 0 insertions, 0 deletions
