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

[GDNative] various NativeScript fixes around editor functionality #27320

Merged

Conversation

karroffel
Copy link
Contributor

@karroffel karroffel commented Mar 22, 2019

This PR fixes a logical error in the unloading code that would cause scripts to unload but not load in again, causing the next unload to print error messages.

The other change should fix various issues with NativeScript integration in the editor.
Before this change, every Node in the editor with a NativeScript attached would create an instance of the class and keep it in memory without ever freeing it.

Probably fixes:
#19703
#25812
#19676

@karroffel karroffel changed the title [GDNative] remove spam at editor unfocus when using NativeScript [GDNative] various NativeScript fixes around editor functionality Mar 22, 2019
@Chaosus Chaosus added this to the 3.2 milestone Mar 23, 2019
@karroffel karroffel merged commit 8129266 into godotengine:master Mar 25, 2019
@karroffel karroffel deleted the gdnative-terminate-error-print branch March 25, 2019 07:34
@akien-mga
Copy link
Member

Cherry-picked for 3.1.1.

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