mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
fix initial display of default image
This commit is contained in:
parent
5dcf6560a9
commit
eda65fe33f
@ -2211,6 +2211,7 @@ make_splash_window() {
|
||||
// download it directly. This one won't be cached locally
|
||||
// (though the browser might be free to cache it).
|
||||
_image_files[i]._use_standard_image = false;
|
||||
_image_files[i]._filename.clear();
|
||||
string image_url = _fparams.lookup_token(token_keyword);
|
||||
if (image_url.empty()) {
|
||||
// No splash image. Never mind.
|
||||
|
@ -108,6 +108,7 @@ set_visible(bool visible) {
|
||||
////////////////////////////////////////////////////////////////////
|
||||
void P3DX11SplashWindow::
|
||||
set_image_filename(const string &image_filename, ImagePlacement image_placement) {
|
||||
nout << "image_filename = " << image_filename << "\n";
|
||||
if (_subprocess_pid == -1) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user