Changeset - 2d2c45d9b5b6
[Not reviewed]
default
0 1 0
ethanzonca - 16 years ago 2009-07-28 17:52:04

Killed some excess
1 file changed with 4 insertions and 7 deletions:
0 comments (0 inline, 0 general)
src/server/distrend.c
Show inline comments
 
@@ -498,7 +498,7 @@ int main(int argc, char *argv[])
 
      struct frameset *frame;
 
      struct blendjob *job;
 

	
 
      /* If the client is idle (meaning a client without the "busy" status connected via ssh) */
 
      /* If the client is idle (meaning a client without the "busy" status connected via ssh), all clients should be idle by default. */
 
      if(clientstatus == CLIENTSTATUS_IDLE)
 
	{
 
	  /**
 
@@ -514,14 +514,11 @@ int main(int argc, char *argv[])
 
	    /* returnnum == 0 */
 
	    remotio_send_to_client(frame->num, job->jobnum); // Did you actually make this function, ohnobinki? --normaldotcom
 
	}
 

	
 
      /* If the client states that they finished the frame */
 
      	if(clientsays == DISTREN_REQUEST_DONEFRAME){
 
      		clientstatus = CLIENTSTATUS_IDLE;
 
      		finish_frame(jobnum, framenumprevious); // make it finish the previous frame or something.
 
      		int returnnum = frame_finder(head, &job, &frame);
 
      		if(returnnum){
 
      			fprintf(stderr,"No frames are available to render at this time");
 
      		}
 
      		clientstatus = CLIENTSTATUS_IDLE; // Sets the client back to idle
 
      		finish_frame(jobnum, framenumprevious); // make it finish the previous frame or something, why framenumprevios? Is that the whole linked list thing coming in?
 
      	}
 

	
 
      /* End Somewhat Pseudo-code */
0 comments (0 inline, 0 general)