Parcourir la source

not so spammy with the outputs

Chris Brunner il y a 16 ans
Parent
commit
97f711de8c

+ 0 - 4
pandatool/src/mayaprogs/mayaToEgg_client.cxx

@@ -54,9 +54,6 @@ int main(int argc, char *argv[]) {
   // Get the current working directory and make sure it's a string
   Filename cwd = ExecutionEnvironment::get_cwd();
   string s_cwd = (string)cwd.to_os_specific();
-  nout << "CWD: " << s_cwd << "\n";
-
-  nout << "building datagram\n";
   NetDatagram datagram;
   
   // First part of the datagram is the argc
@@ -70,7 +67,6 @@ int main(int argc, char *argv[]) {
 
   // Lastly, add the current working dir as a string to the datagram
   datagram.add_string(s_cwd);
-  nout << "sending datagram\n";
   
   // Send it and close the connection
   prog.cWriter->send(datagram, con);

+ 0 - 4
pandatool/src/mayaprogs/mayaToEgg_server.cxx

@@ -341,7 +341,6 @@ poll() {
     PT(Connection) rv;
     NetAddress address;
     if (qListener->get_new_connection(rv, address, con)) {
-      nout << "Got connection from " << address << "\n";
       qReader->add_connection(con);
       _clients.insert(con);
     }
@@ -351,7 +350,6 @@ poll() {
   if (qManager->reset_connection_available()) {
     PT(Connection) connection;
     if (qManager->get_reset_connection(connection)) {
-      nout << "Lost connection from " << connection->get_address() << "\n";
       _clients.erase(connection);
       qManager->close_connection(connection);
     }
@@ -364,7 +362,6 @@ poll() {
     NetDatagram datagram;
     if (qReader->get_data(datagram)) {
       DatagramIterator data(datagram);
-      nout << "receiving data\n";
       // First data should be the "argc" (argument count) from the client
       int argc = data.get_uint8();
 
@@ -428,7 +425,6 @@ poll() {
       // Clean up the malloc'd pointer pointer
       free(cargv);
     } // qReader->get_data
-    nout << "Closing connection...\n";
 
     Clients::iterator ci;
     for (ci = _clients.begin(); ci != _clients.end(); ++ci) {