Merge pull request #32767 from madmiraal/body2d-can_sleep-default

Fix mismatch between RigidBody2D and Body2DSW can_sleep defaults.
This commit is contained in:
Rémi Verschelde 2019-10-12 14:06:46 +02:00 committed by GitHub
commit 5d63cf1610
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -794,7 +794,7 @@ BodySW::BodySW() :
still_time = 0;
continuous_cd = false;
can_sleep = false;
can_sleep = true;
fi_callback = NULL;
}

View file

@ -694,7 +694,7 @@ Body2DSW::Body2DSW() :
still_time = 0;
continuous_cd_mode = Physics2DServer::CCD_MODE_DISABLED;
can_sleep = false;
can_sleep = true;
fi_callback = NULL;
}