mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 10:37:35 +02:00
remove commented out cruft
This commit is contained in:
parent
ac180758ad
commit
01e14eec47
2 changed files with 0 additions and 19 deletions
|
@ -467,23 +467,6 @@ void AvatarManager::handleCollisionEvents(const CollisionEvents& collisionEvents
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
void AvatarManager::addAvatarToSimulation(Avatar* avatar) {
|
|
||||||
assert(!avatar->getMotionState());
|
|
||||||
|
|
||||||
ShapeInfo shapeInfo;
|
|
||||||
avatar->computeShapeInfo(shapeInfo);
|
|
||||||
btCollisionShape* shape = const_cast<btCollisionShape*>(ObjectMotionState::getShapeManager()->getShape(shapeInfo));
|
|
||||||
if (shape) {
|
|
||||||
// we don't add to the simulation now, we put it on a list to be added later
|
|
||||||
AvatarMotionState* motionState = new AvatarMotionState(avatar, shape);
|
|
||||||
avatar->setMotionState(motionState);
|
|
||||||
_motionStatesToAddToPhysics.insert(motionState);
|
|
||||||
_motionStatesThatMightUpdate.insert(motionState);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
void AvatarManager::updateAvatarRenderStatus(bool shouldRenderAvatars) {
|
void AvatarManager::updateAvatarRenderStatus(bool shouldRenderAvatars) {
|
||||||
if (DependencyManager::get<SceneScriptingInterface>()->shouldRenderAvatars()) {
|
if (DependencyManager::get<SceneScriptingInterface>()->shouldRenderAvatars()) {
|
||||||
for (auto avatarData : _avatarHash) {
|
for (auto avatarData : _avatarHash) {
|
||||||
|
|
|
@ -69,8 +69,6 @@ public:
|
||||||
void handleOutgoingChanges(const VectorOfMotionStates& motionStates);
|
void handleOutgoingChanges(const VectorOfMotionStates& motionStates);
|
||||||
void handleCollisionEvents(const CollisionEvents& collisionEvents);
|
void handleCollisionEvents(const CollisionEvents& collisionEvents);
|
||||||
|
|
||||||
//void addAvatarToSimulation(Avatar* avatar);
|
|
||||||
|
|
||||||
Q_INVOKABLE RayToAvatarIntersectionResult findRayIntersection(const PickRay& ray,
|
Q_INVOKABLE RayToAvatarIntersectionResult findRayIntersection(const PickRay& ray,
|
||||||
const QScriptValue& avatarIdsToInclude = QScriptValue(),
|
const QScriptValue& avatarIdsToInclude = QScriptValue(),
|
||||||
const QScriptValue& avatarIdsToDiscard = QScriptValue());
|
const QScriptValue& avatarIdsToDiscard = QScriptValue());
|
||||||
|
|
Loading…
Reference in a new issue