mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
one or two fewer warnings
This commit is contained in:
parent
5cbe317cc2
commit
08e05167f8
@ -89,6 +89,9 @@ INLINE void GuiButton::inactive(void) {
|
||||
case DOWN_ROLLOVER:
|
||||
switch_state(INACTIVE_ROLLOVER);
|
||||
break;
|
||||
case INACTIVE:
|
||||
case INACTIVE_ROLLOVER:
|
||||
break;
|
||||
default:
|
||||
gui_cat->warning() << "got inactive from invalid state (" << (int)_state
|
||||
<< "), button '" << this->get_name() << "'" << endl;
|
||||
|
Loading…
x
Reference in New Issue
Block a user