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

Add is_instance_valid check for highlighting item in snap-zone #548

Merged
merged 1 commit into from
Oct 17, 2023

Conversation

Malcolmnixon
Copy link
Collaborator

This PR fixes issue #547 by adding an is_instance_valid check before attempting to highlight an item in a snap-zone in case it has been freed.

This PR adds an is_instance_valid check before attempting to highlight an item in a snap-zone in case it has been freed.
@DigitalN8m4r3
Copy link
Contributor

lgtm

Copy link
Member

@BastiaanOlij BastiaanOlij left a comment

Choose a reason for hiding this comment

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

There are probably other places where this would be a worth while fix...

@BastiaanOlij BastiaanOlij added the bug Something isn't working label Oct 17, 2023
@BastiaanOlij BastiaanOlij added this to the 4.3.0 milestone Oct 17, 2023
@Malcolmnixon
Copy link
Collaborator Author

There are probably other places where this would be a worth while fix...

I did a cursory check in this module and similar functions, and couldn't find any other occurrences... we'll have to see what pops up.

@Malcolmnixon Malcolmnixon merged commit 57ca088 into GodotVR:master Oct 17, 2023
2 checks passed
@Malcolmnixon Malcolmnixon deleted the fix-highlight-freed branch October 17, 2023 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants