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 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/server/distrend.c
Show inline comments
 
@@ -56,13 +56,13 @@ struct blendjob {
 
  char *email;
 
  int priority;  // 1 is lowest, 10 is highest, 0 is done
 
  int percent_done;
 
  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];
 

	
 

	
 
// Matt's code for framesets? I think that the int frame_num is obselete because it will be frameset[framenum]
 
// struct for storing information on each frame for a particular blender job
 
struct frameset {
 
@@ -76,13 +76,13 @@ struct frameset {
 

	
 

	
 
/* ********************** Functions ************************* */
 

	
 
// **** 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;
 
}
 

	
 

	
 
// **** Queuer: Adds files to the queue
 
void queue(int type, char *name, char *submitter, char *email, int priority, int mode, int spp, struct frameset *frameset) {
 
	// Type: 1 = blender, add more types later
0 comments (0 inline, 0 general)