fix initial display of default image

This commit is contained in:
David Rose 2009-11-19 20:41:14 +00:00
parent 5dcf6560a9
commit eda65fe33f
2 changed files with 2 additions and 0 deletions

View File

@ -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.

View File

@ -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;
}