mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
better default for get_color() without color setting
This commit is contained in:
parent
698068a34b
commit
e0b9535308
@ -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);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
x
Reference in New Issue
Block a user