Browse Source

fix bug in LightRampAttrib::out

rdb 14 years ago
parent
commit
f6c6e7eb75
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/pgraph/lightRampAttrib.cxx

+ 1 - 1
panda/src/pgraph/lightRampAttrib.cxx

@@ -207,7 +207,7 @@ output(ostream &out) const {
     out << "single_threshold(" << _level[0] << "," << _level[1] << "," << _threshold[0] << ")";
     out << "single_threshold(" << _level[0] << "," << _level[1] << "," << _threshold[0] << ")";
     break;
     break;
   case LRT_double_threshold:
   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;
     break;
   }
   }
 }
 }