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; } }