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 exporting trigger shapes in GLTF #88201

Merged
merged 1 commit into from
Feb 12, 2024

Conversation

aaronfranke
Copy link
Member

This is a minor but critical bug that broke exporting trigger shapes. It's a regression I introduced in #78967. This is only merged in master, so this PR is only relevant for master.

The intention of this internal helper method is to start with the parent, because it's used in places where the child may not even exist yet. However, in the export code, since there is no p_scene_parent like with the import code, I made a mistake of writing p_scene_node instead of p_scene_node->get_parent().

@akien-mga akien-mga merged commit 80503c7 into godotengine:master Feb 12, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

@aaronfranke aaronfranke deleted the gltf-fix-trigger-export branch February 12, 2024 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants