Large avatars should instantly shrink when entering small height domains
Showing the changes to interface/src/Application.cpp (1 of 3 files). Show all
Unified · Split
| @@ -5446,7 +5446,7 @@ void Application::update(float deltaTime) { · 5445 unmodified lines | ||
| 5446 | 5446 | // process octree stats packets are sent in between full sends of a scene (this isn't currently true). |
| 5447 | 5447 | // We keep physics disabled until we've received a full scene and everything near the avatar in that |
| 5448 | 5448 | // scene is ready to compute its collision shape. |
| 5449 | − if (nearbyEntitiesAreReadyForPhysics()) { | |
| 5449 | + if (nearbyEntitiesAreReadyForPhysics() && getMyAvatar()->isReadyForPhysics()) { | |
| 5450 | 5450 | _physicsEnabled = true; |
| 5451 | 5451 | getMyAvatar()->updateMotionBehaviorFromMenu(); |
| 5452 | 5452 | } |