summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2011-03-04 14:35:22 -0600
committerDave Parks <davep@lindenlab.com>2011-03-04 14:35:22 -0600
commit8ca521070212bab3018fd22ac4eb30e09503fa3f (patch)
tree7d6b6bf3e703c87ca67259f398184d0b6381d465 /indra
parentb89af09f598af21b67b14e5ff940461d9c89afb8 (diff)
Get rid of "start" "stop" spam from DoF focal point transition.
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/pipeline.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index ba597d62bf..c1d1a69dfb 100755
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -6219,17 +6219,12 @@ void LLPipeline::renderBloom(BOOL for_snapshot, F32 zoom_factor, int subfield)
if (transition_time >= 1.f &&
fabsf(current_distance-target_distance)/current_distance > 0.01f)
{ //large shift happened, interpolate smoothly to new target distance
- llinfos << "start" << llendl;
transition_time = 0.f;
start_distance = current_distance;
}
else if (transition_time < 1.f)
{ //currently in a transition, continue interpolating
transition_time += 1.f/gSavedSettings.getF32("CameraFocusTransitionTime")*gFrameIntervalSeconds;
- if (transition_time >= 1.f)
- {
- llinfos << "stop" << llendl;
- }
transition_time = llmin(transition_time, 1.f);
F32 t = cosf(transition_time*F_PI+F_PI)*0.5f+0.5f;