Merge pull request #14036 from AndrewMeadows/crowd-update-tuning

tweak avatar update priority coefficients for load tests
This commit is contained in:
John Conklin II 2018-09-21 09:44:15 -07:00 committed by GitHub
commit 9c2a7931fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2829,8 +2829,10 @@ void RayToAvatarIntersectionResultFromScriptValue(const QScriptValue& object, Ra
value.extraInfo = object.property("extraInfo").toVariant().toMap();
}
// these coefficients can be changed via JS for experimental tuning
// use AvatatManager.setAvatarSortCoefficient("name", value) by a user with domain kick-rights
float AvatarData::_avatarSortCoefficientSize { 8.0f };
float AvatarData::_avatarSortCoefficientCenter { 4.0f };
float AvatarData::_avatarSortCoefficientCenter { 0.25f };
float AvatarData::_avatarSortCoefficientAge { 1.0f };
QScriptValue AvatarEntityMapToScriptValue(QScriptEngine* engine, const AvatarEntityMap& value) {