Changeset - 1c295ac850fd
[Not reviewed]
default
0 1 0
ethanzonca - 16 years ago 2009-07-06 19:59:05

Formatting
1 file changed with 5 insertions and 6 deletions:
0 comments (0 inline, 0 general)
src/server/distrend.c
Show inline comments
 
@@ -336,7 +336,6 @@ int frame_finder(){
 

	
 
	while(priority >= 1){ // start the scan for the next job with the highest priority
 
		finder_jobnum = hcfjob + 1; // reset it to start scanning at first uncompleted job for the pass at each priority level
 

	
 
		while(finder_jobnum <= highest_jobnum){
 
			if(blendjob[finder_jobnum].priority = priority){  // looks for a job with the current priority value
 
				done = 1;									  // notice it starts by looking at the oldest job first
 
@@ -362,14 +361,14 @@ int frame_finder(){
 
		x++;  // If frame is assigned or done, it goes to next frame
 
	}
 

	
 
blendjob[jobnum].frame_status[x]++; // sets the value of the frame to 2, which means its taken
 
	blendjob[jobnum].frame_status[x]++; // sets the value of the frame to 2, which means its taken
 

	
 
your_frame = blendjob[jobnum].frame_num[x]; //  Takes the frameset found in the while statement above, and extracts the frame number from it and assigns it to the int your_frame
 
	your_frame = blendjob[jobnum].frame_num[x]; //  Takes the frameset found in the while statement above, and extracts the frame number from it and assigns it to the int your_frame
 

	
 
if(your_frame = null)  // If that job had no open frames for some reason, run the status report generator so that
 
	status_report_generator();  //the job priority can be changed to 0
 
	if(your_frame = null)  // If that job had no open frames for some reason, run the status report generator so that
 
		status_report_generator();  //the job priority can be changed to 0
 

	
 
return your_frame; // your_frame is returned as the frame to be rendered
 
	return your_frame; // your_frame is returned as the frame to be rendered
 
}
 

	
 

	
0 comments (0 inline, 0 general)