From f6c6e7eb751ffa9cd1244dc43b1cc551c5b0e88c Mon Sep 17 00:00:00 2001 From: rdb Date: Sun, 13 Mar 2011 07:14:41 +0000 Subject: [PATCH] fix bug in LightRampAttrib::out --- panda/src/pgraph/lightRampAttrib.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/pgraph/lightRampAttrib.cxx b/panda/src/pgraph/lightRampAttrib.cxx index b1ed33d69a..32cb555630 100644 --- a/panda/src/pgraph/lightRampAttrib.cxx +++ b/panda/src/pgraph/lightRampAttrib.cxx @@ -207,7 +207,7 @@ output(ostream &out) const { out << "single_threshold(" << _level[0] << "," << _level[1] << "," << _threshold[0] << ")"; break; case LRT_double_threshold: - out << "double_threshold(" << _level[0] << "," << _level[1] << "," << _level[2] << "," << _threshold[0] << "," << _threshold[0] << ")"; + out << "double_threshold(" << _level[0] << "," << _level[1] << "," << _threshold[0] << "," << _threshold[1] << ")"; break; } }