mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
prevent hard crash
This commit is contained in:
parent
5c45275656
commit
0e9b1ece67
@ -74,6 +74,10 @@ PGEntry(const string &name) :
|
||||
|
||||
set_active(true);
|
||||
update_state();
|
||||
|
||||
// Some default parameters so it doesn't crash hard if no one calls
|
||||
// setup().
|
||||
setup_minimal(10, 1);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
x
Reference in New Issue
Block a user