summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2015-09-02 14:11:38 -0400
committerOz Linden <oz@lindenlab.com>2015-09-02 14:11:38 -0400
commit7a5ac85c6558e4ce35be89a77bec6caa60515063 (patch)
tree3f952558cbd455cf613a3b0191033921efa22a7c /indra/newview
parent9c4dedd6a0086af24d521ab1cda82b858da22e34 (diff)
parente4f7db7fec74a020bf7e2783a8d051e2cdcd7dab (diff)
merge
Diffstat (limited to 'indra/newview')
-rwxr-xr-xindra/newview/llvoavatar.cpp6
-rwxr-xr-xindra/newview/llvovolume.cpp7
-rwxr-xr-xindra/newview/skins/default/xui/en/notifications.xml4
3 files changed, 15 insertions, 2 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index 5d83a20f50..9e689d9821 100755
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -8305,6 +8305,12 @@ void LLVOAvatar::updateVisualComplexity()
// Calculations for mVisualComplexity value
void LLVOAvatar::calculateUpdateRenderComplexity()
{
+ /*****************************************************************
+ * This calculation should not be modified by third party viewers,
+ * since it is used to limit rendering and should be uniform for
+ * everyone. If you have suggested improvements, submit them to
+ * the official viewer for consideration.
+ *****************************************************************/
static const U32 COMPLEXITY_BODY_PART_COST = 200;
// Diagnostic list of all textures on our avatar
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp
index 44ba09c171..2f7dd88e20 100755
--- a/indra/newview/llvovolume.cpp
+++ b/indra/newview/llvovolume.cpp
@@ -3343,6 +3343,13 @@ const LLMatrix4 LLVOVolume::getRenderMatrix() const
// children, and cost should only be increased for unique textures -Nyx
U32 LLVOVolume::getRenderCost(texture_cost_t &textures) const
{
+ /*****************************************************************
+ * This calculation should not be modified by third party viewers,
+ * since it is used to limit rendering and should be uniform for
+ * everyone. If you have suggested improvements, submit them to
+ * the official viewer for consideration.
+ *****************************************************************/
+
// Get access to params we'll need at various points.
// Skip if this is object doesn't have a volume (e.g. is an avatar).
BOOL has_volume = (getVolume() != NULL);
diff --git a/indra/newview/skins/default/xui/en/notifications.xml b/indra/newview/skins/default/xui/en/notifications.xml
index e603e0aebe..394ea5f0b1 100755
--- a/indra/newview/skins/default/xui/en/notifications.xml
+++ b/indra/newview/skins/default/xui/en/notifications.xml
@@ -3301,7 +3301,7 @@ You can use [SECOND_LIFE] normally and other people will see you correctly.
<unique combine = "cancel_old">
<context>AgentComplexityNotice</context>
</unique>
- Your visual complexity is [AGENT_COMPLEXITY].
+Your [https://wiki.secondlife.com/wiki/Avatar_Rendering_Complexity visual complexity] is [AGENT_COMPLEXITY].
[OVERLIMIT_MSG]
</notification>
@@ -3313,7 +3313,7 @@ You can use [SECOND_LIFE] normally and other people will see you correctly.
<unique combine = "cancel_old">
<context>AgentComplexityNotice</context>
</unique>
-Your visual complexity is [AGENT_COMPLEXITY].
+Your [https://wiki.secondlife.com/wiki/Avatar_Rendering_Complexity visual complexity] is [AGENT_COMPLEXITY].
</notification>
<notification