mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
cleanups
This commit is contained in:
parent
c07d10f74b
commit
61a6522314
@ -1267,13 +1267,12 @@ make_splash_window() {
|
|||||||
// We're hidden, and so is the splash window.
|
// We're hidden, and so is the splash window.
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
/* temp removing: hack for debugging.
|
if (_wparams.get_window_type() != P3D_WT_embedded &&
|
||||||
if (_wparams.get_window_type() != P3D_WT_embedded && !_stuff_to_download) {
|
!_stuff_to_download && _auto_start) {
|
||||||
// If it's a toplevel or fullscreen window, then we don't want a
|
// If it's a toplevel or fullscreen window, then we don't want a
|
||||||
// splash window until we have stuff to download.
|
// splash window until we have stuff to download.
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
_splash_window = new SplashWindowType(this);
|
_splash_window = new SplashWindowType(this);
|
||||||
_splash_window->set_wparams(_wparams);
|
_splash_window->set_wparams(_wparams);
|
||||||
|
@ -701,6 +701,10 @@ create_instance(const string &p3d, P3D_window_type window_type,
|
|||||||
tokens.push_back(token);
|
tokens.push_back(token);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
token._keyword = "auto_start";
|
||||||
|
token._value = "1";
|
||||||
|
tokens.push_back(token);
|
||||||
|
|
||||||
P3D_token *tokens_p;
|
P3D_token *tokens_p;
|
||||||
size_t num_tokens = tokens.size();
|
size_t num_tokens = tokens.size();
|
||||||
if (!tokens.empty()) {
|
if (!tokens.empty()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user