Skip to content

epaint: Handle NaNs in Path #5397

@Ved-s

Description

@Ved-s

Is your feature request related to a problem? Please describe.
I'm making a performance graph and whenever there's a NaN in it (failed to measure or similar), that point on the graph prevents neighboring points from rendering properly.

Describe the solution you'd like
I'd like NaNs being treated as discontinuity in the path, same as end/beginning of the path.

Additional context
image
(Mesh under the line handles NaNs somewhat expectedly, you can see Path not rendering points where Mesh does)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions