Revert unintended changes in avatar packager

This commit is contained in:
Ryan Huffman 2019-01-03 13:45:00 -08:00
parent 7953507cb8
commit 7ca7e0f234
3 changed files with 3 additions and 12 deletions
interface/src
scripts/system/html/js

View file

@ -466,7 +466,7 @@ public:
// Don't actually crash in debug builds, in case this apparent deadlock is simply from
// the developer actively debugging code
#ifdef NDEBUG
//deadlockDetectionCrash();
deadlockDetectionCrash();
#endif
}
}

View file

@ -536,7 +536,6 @@ void AvatarManager::handleCollisionEvents(const CollisionEvents& collisionEvents
// my avatar. (Other user machines will make a similar analysis and inject sound for their collisions.)
if (collision.idA.isNull() || collision.idB.isNull()) {
auto myAvatar = getMyAvatar();
myAvatar->collisionWithEntity(collision);
auto collisionSound = myAvatar->getCollisionSound();
if (collisionSound) {
const auto characterController = myAvatar->getCharacterController();
@ -572,8 +571,9 @@ void AvatarManager::handleCollisionEvents(const CollisionEvents& collisionEvents
auto injector = AudioInjector::playSoundAndDelete(collisionSound, options);
_collisionInjectors.emplace_back(injector);
}
myAvatar->collisionWithEntity(collision);
return;
}
return;
}
}
}

View file

@ -112,15 +112,6 @@ const GROUPS = [
type: "color",
propertyID: "color",
},
{
label: "Alpha",
type: "",
type: "number",
min: 0,
max: 1,
step: 0.001,
propertyID: "alpha",
},
]
},
{