Skip to content

A menu bar in node editor no longer segfaults (#2070)#2648

Merged
hoffstadt merged 1 commit intohoffstadt:masterfrom
v-ein:bugfix/2070-node-editor-menu
May 4, 2026
Merged

A menu bar in node editor no longer segfaults (#2070)#2648
hoffstadt merged 1 commit intohoffstadt:masterfrom
v-ein:bugfix/2070-node-editor-menu

Conversation

@v-ein
Copy link
Copy Markdown
Collaborator

@v-ein v-ein commented May 2, 2026


name: Pull Request
about: Create a pull request to help us improve
title: A menu bar in node editor no longer segfaults (#2070)
assignees: ''


Closes #2070.

Description:

Since both nodes and menu items are stored as slot 1 children in the node editor, we need to check item type before treating it as a node (or as anything else). Type checks were missing in a couple of places - this PR adds them.

Concerning Areas:
None.

@v-ein v-ein requested a review from hoffstadt May 2, 2026 21:30
@hoffstadt hoffstadt merged commit 14b4012 into hoffstadt:master May 4, 2026
5 checks passed
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.

node_editor crashes when menubar added

2 participants