From eda65fe33fa8bfc0fb2f6e5cec1c004089a8e362 Mon Sep 17 00:00:00 2001 From: David Rose Date: Thu, 19 Nov 2009 20:41:14 +0000 Subject: [PATCH] fix initial display of default image --- direct/src/plugin/p3dInstance.cxx | 1 + direct/src/plugin/p3dX11SplashWindow.cxx | 1 + 2 files changed, 2 insertions(+) diff --git a/direct/src/plugin/p3dInstance.cxx b/direct/src/plugin/p3dInstance.cxx index aca3c631b0..024a72d8c8 100644 --- a/direct/src/plugin/p3dInstance.cxx +++ b/direct/src/plugin/p3dInstance.cxx @@ -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. diff --git a/direct/src/plugin/p3dX11SplashWindow.cxx b/direct/src/plugin/p3dX11SplashWindow.cxx index 99651708a5..ac56c6523d 100755 --- a/direct/src/plugin/p3dX11SplashWindow.cxx +++ b/direct/src/plugin/p3dX11SplashWindow.cxx @@ -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; }