Browse Source

splash_img shouldn't also apply to buttons

David Rose 16 years ago
parent
commit
a725d42db1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/plugin/p3dInstance.cxx

+ 1 - 1
direct/src/plugin/p3dInstance.cxx

@@ -2226,7 +2226,7 @@ make_splash_window() {
   // Go get the required images.
   for (int i = 0; i < (int)IT_none; ++i) {
     string token_keyword = string(_image_type_names[i]) + "_img";
-    if (!_fparams.has_token(token_keyword)) {
+    if (!_fparams.has_token(token_keyword) && i < (int)IT_auth_ready) {
       token_keyword = "splash_img";
     }
     if (!_fparams.has_token(token_keyword)) {