mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
fix splash_img vs. noplugin_img
This commit is contained in:
parent
c5cf303e1a
commit
716ac1aa10
@ -87,7 +87,11 @@ function P3D_GetArgs(args, classid, mimeType){
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case "splash_img":
|
case "splash_img":
|
||||||
ret.imageAttrs["src"] = ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i+1];
|
ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i+1];
|
||||||
|
if (!ret.imageAttrs["src"]) {
|
||||||
|
ret.imageAttrs["src"] = args[i+1];
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
case "width":
|
case "width":
|
||||||
case "height":
|
case "height":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user