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

Added missing null implementation of the new dmPhysics::Wakeup function #5878

Merged
merged 1 commit into from
Jun 15, 2021

Conversation

JCash
Copy link
Contributor

@JCash JCash commented Jun 15, 2021

No description provided.

@JCash JCash requested a review from britzl June 15, 2021 08:17
@@ -117,6 +117,7 @@ Test3D::Test3D()
, m_IsEnabledFunc(dmPhysics::IsEnabled3D)
, m_SetEnabledFunc(dmPhysics::SetEnabled3D)
, m_IsSleepingFunc(dmPhysics::IsSleeping3D)
, m_WakeupFunc(dmPhysics::Wakeup3D)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I forgot to double check this when the feature was reviewed.
If it's not implemented, we cannot use the null implementations as intended.

So, we add a unit test in order to make sure it's implemented in all variants.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ping @otsakir: For future reference ☝️

@JCash JCash merged commit 4337d55 into dev Jun 15, 2021
@JCash JCash mentioned this pull request Jul 6, 2021
pull bot pushed a commit to proteanblank/defold that referenced this pull request Jul 28, 2021
pull bot pushed a commit to proteanblank/defold that referenced this pull request Jul 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant