Skip to content

Conversation

@hearga
Copy link
Contributor

@hearga hearga commented Oct 15, 2025

Description

Previously, Intersector::apply() assumed that CpuLayoutTechnique and GpuLayoutTechnique always had a valid scenegraph, which could lead to segmentation faults. This change adds null checks before calling scenegraph->accept(*this).

The issue occurred when traversing text nodes that contained no glyphs: for example, a text node created with an empty string or when all characters in the string had no corresponding glyphs in the font.

Type of change

  • [X ] Bug fix (non-breaking change which fixes an issue)

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.

1 participant