mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
fix splash window visibility
This commit is contained in:
parent
f9864e18d1
commit
945a732411
@ -88,7 +88,6 @@ set_wparams(const P3DWindowParams &wparams) {
|
||||
_wparams = wparams;
|
||||
_win_width = _wparams.get_win_width();
|
||||
_win_height = _wparams.get_win_height();
|
||||
_visible = true;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
@ -94,7 +94,7 @@ set_visible(bool visible) {
|
||||
TiXmlDocument doc;
|
||||
TiXmlElement *xcommand = new TiXmlElement("command");
|
||||
xcommand->SetAttribute("cmd", "set_visible");
|
||||
xcommand->SetAttribute("visible", (int)visible);
|
||||
xcommand->SetAttribute("visible", (int)_visible);
|
||||
doc.LinkEndChild(xcommand);
|
||||
write_xml(_pipe_write, &doc, nout);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user