mirror of
https://github.com/overte-org/overte.git
synced 2025-08-16 11:32:22 +02:00
Crash fix for avatars that are missing "Hips", "Head" and other required joints.
This commit is contained in:
parent
732d0de48d
commit
85500841fb
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ MyCharacterController::~MyCharacterController() {
|
|||
|
||||
void MyCharacterController::setDynamicsWorld(btDynamicsWorld* world) {
|
||||
CharacterController::setDynamicsWorld(world);
|
||||
if (world) {
|
||||
if (world && _rigidBody) {
|
||||
initRayShotgun(world);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue