diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-09 14:47:46 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-09 14:47:46 +0100 |
| commit | ed4ad03f7c7412bc77138594fae2389f3f4a10a3 (patch) | |
| tree | 75bb1c34bf7fce8860e1ea68f8e0e21e3b186e4d /tools/timeline_editor | |
| parent | c5aa3f6492e9c9464eea1eea9656806bd19f61fe (diff) | |
fix: Strip priority comments from effect args in .seq export
Remove '# Priority: X' comments from effect arguments during
timeline export to keep .seq files clean.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'tools/timeline_editor')
| -rw-r--r-- | tools/timeline_editor/index.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/timeline_editor/index.html b/tools/timeline_editor/index.html index 074b711..db71beb 100644 --- a/tools/timeline_editor/index.html +++ b/tools/timeline_editor/index.html @@ -601,7 +601,11 @@ const modifier = effect.priorityModifier || '+'; output += ` EFFECT ${modifier} ${effect.className} ${effect.startTime.toFixed(2)} ${effect.endTime.toFixed(2)}`; if (effect.args) { - output += ` ${effect.args}`; + // Strip priority comments from args + const cleanArgs = effect.args.replace(/\s*#\s*Priority:\s*\d+/i, '').trim(); + if (cleanArgs) { + output += ` ${cleanArgs}`; + } } output += '\n'; } |
