aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewerobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llviewerobject.cpp')
-rw-r--r--linden/indra/newview/llviewerobject.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/linden/indra/newview/llviewerobject.cpp b/linden/indra/newview/llviewerobject.cpp
index d4e5946..51b3e2a 100644
--- a/linden/indra/newview/llviewerobject.cpp
+++ b/linden/indra/newview/llviewerobject.cpp
@@ -2748,7 +2748,7 @@ void LLViewerObject::setPixelAreaAndAngle(LLAgent &agent)
2748 F32 mid_scale = getMidScale(); 2748 F32 mid_scale = getMidScale();
2749 F32 min_scale = getMinScale(); 2749 F32 min_scale = getMinScale();
2750 2750
2751 // IW: esitmate - when close to large objects, computing range based on distance from center is no good 2751 // IW: estimate - when close to large objects, computing range based on distance from center is no good
2752 // to try to get a min distance from face, subtract min_scale/2 from the range. 2752 // to try to get a min distance from face, subtract min_scale/2 from the range.
2753 // This means we'll load too much detail sometimes, but that's better than not enough 2753 // This means we'll load too much detail sometimes, but that's better than not enough
2754 // I don't think there's a better way to do this without calculating distance per-poly 2754 // I don't think there's a better way to do this without calculating distance per-poly
@@ -3733,7 +3733,6 @@ S32 LLViewerObject::setTEColor(const U8 te, const LLColor4& color)
3733 else if (color != tep->getColor()) 3733 else if (color != tep->getColor())
3734 { 3734 {
3735 retval = LLPrimitive::setTEColor(te, color); 3735 retval = LLPrimitive::setTEColor(te, color);
3736 //setChanged(TEXTURE);
3737 if (mDrawable.notNull() && retval) 3736 if (mDrawable.notNull() && retval)
3738 { 3737 {
3739 // These should only happen on updates which are not the initial update. 3738 // These should only happen on updates which are not the initial update.