better default for get_color() without color setting

This commit is contained in:
David Rose 2002-07-08 18:54:29 +00:00
parent 698068a34b
commit e0b9535308

View File

@ -1457,7 +1457,7 @@ get_color() const {
pgraph_cat.warning()
<< "get_color() called on " << *this << " which has no color set.\n";
return Colorf(0.0f, 0.0f, 0.0f, 0.0f);
return Colorf(1.0f, 1.0f, 1.0f, 1.0f);
}
////////////////////////////////////////////////////////////////////