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 the tween null check #45438

Merged
merged 1 commit into from
Feb 24, 2021
Merged

Fix the tween null check #45438

merged 1 commit into from
Feb 24, 2021

Conversation

Norrox
Copy link
Contributor

@Norrox Norrox commented Jan 25, 2021

well this fixes the null check for tween for 4.0, the 3.2 code looks a little different so i dont know how to push both to the same master as this is my first time playing around with this :)

fixes #45399 error for version 4

@Norrox
Copy link
Contributor Author

Norrox commented Jan 25, 2021

@Calinou is this ok? ;D

@Calinou
Copy link
Member

Calinou commented Jan 25, 2021

@Calinou is this ok? ;D

Code looks good to me (apart from the comments below), but I don't merge code pull requests on the main repository. You'll have to wait for Akien to take a look.

@Calinou Calinou added this to the 4.0 milestone Jan 25, 2021
Copy link
Member

@Calinou Calinou left a comment

Choose a reason for hiding this comment

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

I think it'd be good to add a descriptive message to help the user troubleshoot the issue:

scene/animation/tween.cpp Outdated Show resolved Hide resolved
scene/animation/tween.cpp Outdated Show resolved Hide resolved
@Norrox Norrox requested a review from a team as a code owner February 24, 2021 12:38
@akien-mga
Copy link
Member

I force pushed a rebase to squash the commits into one and clarify the commit message.

@akien-mga akien-mga added the cherrypick:3.x Considered for cherry-picking into a future 3.x release label Feb 24, 2021
@akien-mga akien-mga merged commit 2ffecb7 into godotengine:master Feb 24, 2021
@akien-mga
Copy link
Member

Thanks!

@akien-mga
Copy link
Member

Cherry-picked for 3.2.4.

@akien-mga akien-mga removed the cherrypick:3.x Considered for cherry-picking into a future 3.x release label Feb 25, 2021
@Norrox Norrox deleted the fixtweennullcheck branch March 14, 2021 16:10
@Norrox Norrox restored the fixtweennullcheck branch March 14, 2021 16:10
@Norrox Norrox deleted the fixtweennullcheck branch March 14, 2021 16:12
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.

Project crashes with no errors upon tweening a non existent node
3 participants