Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix crash when creating a new shader #161

Merged
merged 1 commit into from
Nov 15, 2022

Conversation

bploeckelman
Copy link

From the main menu, Shader Graph -> New Shader crashes with a null pointer exception.

This commit ensures that ShaderProject$ProjectData.projectMetadata is instantiated before trying to write to it, allowing a new shader to be created via the menu.

@Tom-Ski Tom-Ski merged commit b840eb1 into rockbite:talos-3d Nov 15, 2022
@Tom-Ski
Copy link
Member

Tom-Ski commented Nov 15, 2022

Thanks!

@bploeckelman bploeckelman deleted the fix-new-shader-crash branch November 15, 2022 07:41
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.

2 participants