Changeset - 74af003f0d94
[Not reviewed]
default
0 1 0
Nathan Brink (binki) - 16 years ago 2009-07-09 01:16:40
ohnobinki@ohnopublishing.net
fixed references to struct frameset
1 file changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
src/server/distrend.c
Show inline comments
 
@@ -59,7 +59,7 @@ struct blendjob {
 
  int completed_frames; // number of completed frames for stats/etc
 
  int assigned_frames; // number of assigned frames (that are not yet completed) for stats/etc
 
  int total_frames; // how many frames are in the animation for stats/etc
 
  struct frameset **frameset;
 
  struct frameset *frameset;
 
} blendjob[MAX_BLENDJOBS];
 

	
 

	
 
@@ -79,7 +79,7 @@ struct frameset {
 

	
 
// **** Finish-Setter: Sets a frame to the "completed" status. Should be modified to set =2 rather than ++ ?
 
void finish_frame(int frame){
 
  (*blendjob[jobnum].frameset)[frame].frame_status = 2;
 
  blendjob[jobnum].frameset[frame].frame_status = 2;
 
}
 

	
 

	
 
@@ -92,7 +92,7 @@ void queue(int type, char *name, char *s
 
    blendjob[jobnum].submitter = submitter;
 
    blendjob[jobnum].email = email;
 
    blendjob[jobnum].priority = priority;
 
    blendjob[jobnum].frameset =  frameset;
 
    blendjob[jobnum].frameset = frameset;
 
  }
 
  else{
 
    // Throw error.
0 comments (0 inline, 0 general)