Skip to content

Sync egui_plot item visibility with entity visibility #4974

Closed
@Wumpf

Description

@Wumpf

Annoyingly there's two types of visibility right now in the plot: egui_plot "hidden item" (PlotMemory::hidden_items) and our regular visibility flag. The former is set by clicking on the legend in egui_plot, the later via our regular api.

To clean this up the hidden items need to be accessible in egui plot. Note that my last change on egui plots here

actually made this a bit of a mess now: This change introduces ids that can be optionally set, but internally plot items are uniquely identified by name! We should use the id everywhere but automatically derive it from the name if not specified otherwise.

Metadata

Metadata

Assignees

Labels

eguiRequires egui/eframe workuiconcerns graphical user interface📺 re_vieweraffects re_viewer itself

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions