From c7793581fd1fefff537502acb8784f600d35ad98 Mon Sep 17 00:00:00 2001 From: "Asad M. Zaman" Date: Thu, 9 Sep 2004 19:28:00 +0000 Subject: [PATCH] oops, didn't want to check in the debug statements --- panda/src/pgraph/polylightEffect.cxx | 2 +- panda/src/pgraph/polylightNode.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/panda/src/pgraph/polylightEffect.cxx b/panda/src/pgraph/polylightEffect.cxx index 79f2f105dd..6d02fa8ac6 100755 --- a/panda/src/pgraph/polylightEffect.cxx +++ b/panda/src/pgraph/polylightEffect.cxx @@ -222,7 +222,7 @@ do_poly_light(const CullTraverserData *data, const TransformState *node_transfor r = Rcollect / num_lights; g = Gcollect / num_lights; b = Bcollect / num_lights; - pgraph_cat.info() << "r=" << r << "; g=" << g << "; b=" << b << endl; + pgraph_cat.debug() << "r=" << r << "; g=" << g << "; b=" << b << endl; } return ColorScaleAttrib::make(LVecBase4f(r, g, b, 1.0)); diff --git a/panda/src/pgraph/polylightNode.cxx b/panda/src/pgraph/polylightNode.cxx index 84c2d406c8..05acefaae8 100755 --- a/panda/src/pgraph/polylightNode.cxx +++ b/panda/src/pgraph/polylightNode.cxx @@ -80,11 +80,11 @@ Colorf PolylightNode::flicker() const { //srand((int)ClockObject::get_global_clock()->get_frame_time()); variation = (rand()%100); // a value between 0-99 variation /= 100.0; - pgraph_cat.info() << "Random Variation: " << variation << endl; + pgraph_cat.debug() << "Random Variation: " << variation << endl; } else if (_flicker_type == FSIN) { double now = ClockObject::get_global_clock()->get_frame_time(); variation = sinf(now*_sin_freq); - pgraph_cat.info() << "Variation: " << variation << endl; + pgraph_cat.debug() << "Variation: " << variation << endl; // can't use negative variation, so make it positive if (variation < 0.0) variation *= -1.0;