Skip to content

#14980: Remove global max segment length from segment collection - #14981

Merged
magnesj merged 4 commits into
devfrom
remove-global-max-segment-length
Oct 19, 2026
Merged

magnesj merged 4 commits into
devfrom
remove-global-max-segment-length

Conversation

@magnesj

@magnesj magnesj commented Oct 19, 2026

Copy link
Copy Markdown
Member

Segment length limits are specified per segment interval, so the global "Enforce Max Segment Length" / "Max Segment Length" fields on the segment collection are redundant.

  • Remove m_enforceMaxSegmentLength, m_maxSegmentLength and maxSegmentLength() from RimSegmentCollection, including UI, top-level inheritance and legacy import (no migration).
  • MSW export passes no global max length; max length comes from the segment intervals only.
  • Update unit test, Python test and example.

Fixes #14980

@magnesj
magnesj requested a review from kriben October 19, 2026 14:12
@magnesj magnesj self-assigned this Oct 19, 2026
Max segment length is specified on the individual segment intervals.
The global max segment length no longer exists, so segment subdivision is defined only by the segment intervals.
@magnesj
magnesj force-pushed the remove-global-max-segment-length branch from c95ce57 to d81992b Compare October 19, 2026 18:10
@magnesj
magnesj merged commit 6e8e658 into dev Oct 19, 2026
21 checks passed
@magnesj
magnesj deleted the remove-global-max-segment-length branch October 19, 2026 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove global max segment length from segment collection

2 participants