feat(statusbar): isolate / hide objects with status pill

Add a hidden-entity set to the scene that the tessellation visibility
test skips, so hidden objects neither render nor hit-test. New commands
ISOLATEOBJECTS (show only the selection), HIDEOBJECTS (hide the
selection) and UNISOLATEOBJECTS (restore). An ISO status pill lights up
while anything is hidden and restores everything on click.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Hakan SevenandClaude Opus 4.8 committed 2026-06-04 22:51:23 +03:00
1 parent 243a0bc923
commit e0e7897952
5 files changed
+106

No files matched your search

+4
View File
@@ -23,6 +23,7 @@ pub enum StatusPill {
Space,
Scale,
Units,
Isolate,
Vp,
CleanScreen,
}
@@ -43,6 +44,7 @@ impl StatusPill {
StatusPill::Space,
StatusPill::Scale,
StatusPill::Units,
StatusPill::Isolate,
StatusPill::Vp,
StatusPill::CleanScreen,
];
@@ -62,6 +64,7 @@ impl StatusPill {
StatusPill::Space => "space",
StatusPill::Scale => "scale",
StatusPill::Units => "units",
StatusPill::Isolate => "isolate",
StatusPill::Vp => "vp",
StatusPill::CleanScreen => "cleanscreen",
}
@@ -82,6 +85,7 @@ impl StatusPill {
StatusPill::Space => "Model/Paper Space",
StatusPill::Scale => "Annotation Scale",
StatusPill::Units => "Drawing Units",
StatusPill::Isolate => "Isolate Objects",
StatusPill::Vp => "Viewport Count",
StatusPill::CleanScreen => "Clean Screen",
}