mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-29 13:19:55 +02:00
Merge pull request #14036 from AndrewMeadows/crowd-update-tuning
tweak avatar update priority coefficients for load tests
This commit is contained in:
commit
9c2a7931fb
1 changed files with 3 additions and 1 deletions
|
@ -2829,8 +2829,10 @@ void RayToAvatarIntersectionResultFromScriptValue(const QScriptValue& object, Ra
|
||||||
value.extraInfo = object.property("extraInfo").toVariant().toMap();
|
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::_avatarSortCoefficientSize { 8.0f };
|
||||||
float AvatarData::_avatarSortCoefficientCenter { 4.0f };
|
float AvatarData::_avatarSortCoefficientCenter { 0.25f };
|
||||||
float AvatarData::_avatarSortCoefficientAge { 1.0f };
|
float AvatarData::_avatarSortCoefficientAge { 1.0f };
|
||||||
|
|
||||||
QScriptValue AvatarEntityMapToScriptValue(QScriptEngine* engine, const AvatarEntityMap& value) {
|
QScriptValue AvatarEntityMapToScriptValue(QScriptEngine* engine, const AvatarEntityMap& value) {
|
||||||
|
|
Loading…
Reference in a new issue