Skip to content

Abort on invalid measurement range#2800

Open
marius-pelegrin-arm wants to merge 1 commit intoLunarG:devfrom
marius-pelegrin-arm:measurement-range-sanitization
Open

Abort on invalid measurement range#2800
marius-pelegrin-arm wants to merge 1 commit intoLunarG:devfrom
marius-pelegrin-arm:measurement-range-sanitization

Conversation

@marius-pelegrin-arm
Copy link
Copy Markdown
Contributor

Currently, invalid measurement ranges only display a warning message (widely ignored by most users) and continue with the option disabled.
This can lead to further issues if the user relies on measurements being present (because he specified the option) in an automation for instance.

This commit proposes to fix the situation by aborting on invalid measurement ranges.

This commit also add handling for the case where the measurement range specified by the user starts at frame 0 which doesn't exist.

@marius-pelegrin-arm marius-pelegrin-arm requested a review from a team as a code owner March 19, 2026 13:54
Currently, invalid measurement ranges only display a warning
message (widely ignored by most users) and continue with the option
disabled.
This can lead to further issues if the user relies on measurements
being present (because he specified the option) in an automation
for instance.

This commit proposes to fix the situation by aborting on invalid
measurement ranges.

This commit also add handling for the case where the measurement
range specified by the user starts at frame `0` which doesn't
exist.

Change-Id: I189d5c50b31933bcc0e51fd65cdc3b05542b48a1
@MarkY-LunarG MarkY-LunarG force-pushed the measurement-range-sanitization branch from 928d4a2 to 9344788 Compare April 2, 2026 15:09
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.

2 participants