mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -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;
|
||||
|
||||
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 "height":
|
||||
|
Loading…
x
Reference in New Issue
Block a user