# HG changeset patch # User LordOfWar # Date 2009-02-16 00:06:25 # Node ID f9139e24ffa80b1d8f0942356f1e0cbf445c80c8 # Parent 2ccb6e87cf77f191dc9b8056e5422a7d09968197 more code cleaning diff --git a/src/server/distrend.c b/src/server/distrend.c --- a/src/server/distrend.c +++ b/src/server/distrend.c @@ -43,31 +43,10 @@ int main(int argc, char *argv[]) void blender() { - int command; /* where does this come from,should it be global? */ - int str = command; int first_frame; int last_frame; int pieces_per_frame; // for use of rendering piece so frames and stitching them together int current_frame; - //(get first_fram and last_frame from form) - - current_frame = first_frame; - - /* this errors... What is your intention here? :: str get_task(); */ - if (current_frame <= last_frame) - { - - //(tell blender to render frame current_frame) - - command = "blender run etc " + current_frame; - - return command; - - current_frame --; - } - - // generate command to pass to client - }