소스 검색

Merge pull request #40309 from madmiraal/fix-40283-3.2

[3.2] Set isScratchedSpaceOverrideModificator to false when removing a RigidBodyBullet from a space.
Rémi Verschelde 5 년 전
부모
커밋
717d4cbb73
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      modules/bullet/rigid_body_bullet.cpp

+ 1 - 0
modules/bullet/rigid_body_bullet.cpp

@@ -337,6 +337,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();