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

[Core] Fix TypedArray encoding when full objects is disabled #94379

Merged
merged 1 commit into from
Jul 18, 2024

Conversation

Faless
Copy link
Collaborator

@Faless Faless commented Jul 15, 2024

Typed arrays containing objects, are now correctly encoded with type EncodedObjectAsID when full objects is disabled.

Alternative to #90990
Fixes #90467
Fixes #94384

@akien-mga akien-mga requested a review from dalexeev July 17, 2024 09:19
Copy link
Member

@dalexeev dalexeev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me, thanks! Note that this creates some inconsistency: with p_full_objects = false pathless scripts are supported, but with p_full_objects = true they are not. However, it's less controversial than #90990, so we can fix it in the future if necessary.

core/io/marshalls.cpp Outdated Show resolved Hide resolved
core/io/marshalls.cpp Show resolved Hide resolved
@akien-mga akien-mga merged commit ea5197e into godotengine:master Jul 18, 2024
18 checks passed
@akien-mga
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants