Skip to content

Fix cutting-plane glyph size before optimization (#2595)#2596

Merged
akenmorris merged 1 commit into
masterfrom
amorris/2595-cutting-plane-glyph-size
Jul 15, 2026
Merged

Fix cutting-plane glyph size before optimization (#2595)#2596
akenmorris merged 1 commit into
masterfrom
amorris/2595-cutting-plane-glyph-size

Conversation

@akenmorris

Copy link
Copy Markdown
Contributor

Before any particles exist, cutting-plane points rendered at a near-zero size and were invisible until some other action refreshed the glyphs. The auto glyph size fix for landmarks (#2276) already sizes glyphs from the shape bounding box, but the new size was never pushed to the viewers when planes changed.

Extracts the viewer glyph-size sync into Visualizer::sync_auto_glyph_size() and calls it from update_planes() as well as update_landmarks(), and has Session::new_plane_point() recompute the size like new_landmark() does.

Fixes #2595

Before any particles exist, cutting-plane points rendered at a
near-zero size and were invisible until some other action refreshed the
glyphs. The auto glyph size fix for landmarks (#2276) already sizes
glyphs from the shape bounding box, but the new size was never pushed to
the viewers when planes changed.

Extracts the viewer glyph-size sync into Visualizer::sync_auto_glyph_size()
and calls it from update_planes() as well as update_landmarks(), and has
Session::new_plane_point() recompute the size like new_landmark() does.

Fixes #2595
@akenmorris
akenmorris merged commit d0f7716 into master Jul 15, 2026
5 checks passed
@akenmorris
akenmorris deleted the amorris/2595-cutting-plane-glyph-size branch July 15, 2026 15:36
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.

Studio: cutting plane points render invisibly small before optimization

1 participant