Changeset - 782760533a6d
[Not reviewed]
default
0 1 0
Nathan Brink (binki) - 16 years ago 2009-07-09 00:44:43
ohnobinki@ohnopublishing.net
fixed first reference to strut frameset
1 file changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
src/server/distrend.c
Show inline comments
 
@@ -65,7 +65,7 @@ struct blendjob {
 

	
 
// 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 {
 
struct frameset {
 
	int frame_num; // frame number to render
 
	char slave_name; // user that frame is assigned to
 
	int frame_status; // status of frame, 0= unassigned, 1= taken, 2= done
 
@@ -79,12 +79,12 @@ struct {
 

	
 
// **** Finish-Setter: Sets a frame to the "completed" status. Should be modified to set =2 rather than ++ ?
 
void finish_frame(int frame){
 
	blendjob[jobnum].frame_status[frame]++;
 
  (*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, *frameset) {
 
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
 
	// jobnum is the next available job number
 
	if(type == 1){
0 comments (0 inline, 0 general)