diff options
author | Richard Linden <none@none> | 2012-07-30 15:15:42 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2012-07-30 15:15:42 -0700 |
commit | 4285cc271eacaca31a1d5d76c8e88debf00235c2 (patch) | |
tree | 3d9f338dcdd999fd4e7e2737e4cdec588af2dbcd /indra/newview/pipeline.cpp | |
parent | 209fd15176647a4b8defbb6e66daea6eb12d4b42 (diff) |
CHUI-217 FIX Items are not visible in Merchant Outbox
cleaned up a lot custom code for folder view item creation in inbox and outbox
proper initialization of views from inventory panel starting folder
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r-- | indra/newview/pipeline.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 7c744f3c3f..9268e5a869 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -5318,7 +5318,7 @@ void LLPipeline::calcNearbyLights(LLCamera& camera) // crazy cast so that we can overwrite the fade value // even though gcc enforces sets as const // (fade value doesn't affect sort so this is safe) - Light* farthest_light = ((Light*) (&(*(mNearbyLights.rbegin())))); + Light* farthest_light = (const_cast<Light*>(&(*(mNearbyLights.rbegin())))); if (light->dist < farthest_light->dist) { if (farthest_light->fade >= 0.f) |