diff --git a/panda/src/pgui/pgEntry.cxx b/panda/src/pgui/pgEntry.cxx index 5f1c9bc12d..9d7171a5a2 100644 --- a/panda/src/pgui/pgEntry.cxx +++ b/panda/src/pgui/pgEntry.cxx @@ -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); } ////////////////////////////////////////////////////////////////////