Yellow-Dog-Man / Resonite-Issues

Issue repository for Resonite.
https://resonite.com
102 stars 0 forks source link

ValueGraphRecorder has artifact #1961

Open JackTheFoxOtter opened 1 week ago

JackTheFoxOtter commented 1 week ago

Describe the bug?

The ValueGraphRecorder has an off-by-one error that causes the first point to be positioned at the last value in the array, making it draw an artifact line where it doesn't belong when used to draw a graph.

To Reproduce

Look at something that uses the ValueGraphRecorder with a changing value.

Expected behavior

No artifact to be visible in the graph.

Screenshots

image

Resonite Version Number

Beta 2024.5.4.678

What Platforms does this occur on?

Windows

What headset if any do you use?

Valve Index

Log Files

N/A

Additional Context

No response

Reporters

No response

Frooxius commented 1 week ago

I wanted to fix this one since forever, but I never get to it ;_;

Thanks for making it an issue!