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 sharing of typed arrays from constructor #1483

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

AThousandShips
Copy link
Member

@AThousandShips AThousandShips commented Jun 6, 2024

See:

Doesn't depend on the engine fix beyond approval of the approach, so if it looks good for this side I'm open for it being merged here first (only the compatibility expectations to consider)

@AThousandShips AThousandShips added bug This has been identified as a bug waiting for Godot This issue needs a Godot Engine improvement to be solved topic:gdextension This relates to the new Godot 4 extension implementation cherrypick:4.2 labels Jun 6, 2024
@AThousandShips AThousandShips added this to the 4.3 milestone Jun 6, 2024
@AThousandShips AThousandShips removed the waiting for Godot This issue needs a Godot Engine improvement to be solved label Jun 6, 2024
@AThousandShips AThousandShips marked this pull request as ready for review June 6, 2024 14:42
@AThousandShips AThousandShips requested a review from a team as a code owner June 6, 2024 14:42
@dsnopek
Copy link
Collaborator

dsnopek commented Jun 10, 2024

Thanks!

I think I'd prefer to wait until the Godot PR is merged first, because that'll mean the approach has gotten review from folks who understand this code better than me. :-)

@TokisanGames
Copy link

TokisanGames commented Jun 26, 2024

This PR fixes an issue with TypedArrays duplicating when retrieved from dictionaries #1508 with the official Godot 4.2.2-stable engine.

Copy link
Collaborator

@dsnopek dsnopek left a comment

Choose a reason for hiding this comment

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

Looks great to me! Just waiting on the Godot PR getting merged in order to merge this.

@AThousandShips AThousandShips requested a review from dsnopek June 28, 2024 11:45
@dsnopek dsnopek merged commit 99926d8 into godotengine:master Jun 28, 2024
12 checks passed
@AThousandShips AThousandShips deleted the arr_typed_fix branch June 28, 2024 12:28
@dsnopek
Copy link
Collaborator

dsnopek commented Jul 17, 2024

Cherry-picked for 4.2 in PR #1527

@dsnopek
Copy link
Collaborator

dsnopek commented Jul 17, 2024

Cherry-picked for 4.1 in PR #1529

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This has been identified as a bug topic:gdextension This relates to the new Godot 4 extension implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypedArray argument is copied
3 participants