# HG changeset patch # User normaldotcom # Date 2010-09-13 17:06:01 # Node ID 1484d8dbad43a8009f0297ffde28ebf7a1d937e4 # Parent d231345767d59e2d61a780fb0b31eb6c227e8d5a Fixed slave.c diff --git a/src/server/slave.c b/src/server/slave.c --- a/src/server/slave.c +++ b/src/server/slave.c @@ -171,6 +171,8 @@ int main(int argc, char *argv[]) // Variables needed for main loop int jobnum = 0; int framenum = 0; + int xres = 0; + int yres = 0; int slavekey = atoi(username); // @TODO: Make this more friendly char *urltoTar; /* Full URL to the server-side location of job#.tgz */ @@ -297,7 +299,7 @@ int main(int argc, char *argv[]) } /* Execute blender */ - if(exec_blender(pathtoJobfile, pathtoOutput, framenum)) + if(exec_blender(pathtoJobfile, pathtoOutput, outputExt, xres, yres, framenum)) { fprintf(stderr,"Error running Blender. Check your installation and/or your PATH.\n"); resetframe(slave_state.rem, jobnum, framenum); // Unassign the frame on the server so other slaves can render it