mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
splash_img shouldn't also apply to buttons
This commit is contained in:
parent
4631711957
commit
a725d42db1
@ -2226,7 +2226,7 @@ make_splash_window() {
|
|||||||
// Go get the required images.
|
// Go get the required images.
|
||||||
for (int i = 0; i < (int)IT_none; ++i) {
|
for (int i = 0; i < (int)IT_none; ++i) {
|
||||||
string token_keyword = string(_image_type_names[i]) + "_img";
|
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";
|
token_keyword = "splash_img";
|
||||||
}
|
}
|
||||||
if (!_fparams.has_token(token_keyword)) {
|
if (!_fparams.has_token(token_keyword)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user