Merge pull request #40308 from madmiraal/fix-40283

Set isScratchedSpaceOverrideModificator to false when removing a RigidBodyBullet from a space.
This commit is contained in:
Rémi Verschelde
2020-07-13 17:59:31 +02:00
committed by GitHub

View File

@@ -320,6 +320,7 @@ void RigidBodyBullet::set_space(SpaceBullet *p_space) {
// Clear the old space if there is one
if (space) {
can_integrate_forces = false;
isScratchedSpaceOverrideModificator = false;
// Remove all eventual constraints
assert_no_constraints();