mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
comment cleanup and junk
This commit is contained in:
parent
3e8caf8e17
commit
67cb365f99
@ -520,24 +520,6 @@ static void deadrec_setup(EventHandler& eh) {
|
|||||||
my_arc = new RenderRelation(render, smiley);
|
my_arc = new RenderRelation(render, smiley);
|
||||||
|
|
||||||
writer = new ConnectionWriter(&cm, 0);
|
writer = new ConnectionWriter(&cm, 0);
|
||||||
/*
|
|
||||||
// open a connection to the receiver
|
|
||||||
NetAddress host;
|
|
||||||
if (!host.set_host(hostname, hostport)) {
|
|
||||||
deadrec_cat->fatal() << "Unknown host: " << hostname << endl;
|
|
||||||
exit(0);
|
|
||||||
}
|
|
||||||
conn = cm.open_TCP_client_connection(host, 5000);
|
|
||||||
if (conn.is_null()) {
|
|
||||||
deadrec_cat->fatal() << "no connection." << endl;
|
|
||||||
exit(0);
|
|
||||||
}
|
|
||||||
if (deadrec_cat->is_debug())
|
|
||||||
deadrec_cat->debug() << "opened TCP connection to " << hostname
|
|
||||||
<< " on port " << conn->get_address().get_port()
|
|
||||||
<< " and IP " << conn->get_address() << endl;
|
|
||||||
writer = new ConnectionWriter(&cm, 0);
|
|
||||||
*/
|
|
||||||
|
|
||||||
// create an interface
|
// create an interface
|
||||||
GuiManager* mgr = GuiManager::get_ptr(main_win, mak);
|
GuiManager* mgr = GuiManager::get_ptr(main_win, mak);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user