merged changes to revision 24446
[blender.git] / source / creator / creator.c
index 264abf823e90b1cd7624e56081c76de46b3b2501..d273d786939ba710264ca1da033e7487ad427589 100644 (file)
@@ -627,7 +627,7 @@ int main(int argc, char **argv)
 
                                                frame = MIN2(MAXFRAME, MAX2(MINAFRAME, frame));
                                                
-                                               RE_BlenderAnim(re, scene, frame, frame, scene->frame_step);
+                                               RE_BlenderAnim(re, scene, frame, frame, scene->r.frame_step);
                                        }
                                } else {
                                        printf("\nError: no blend loaded. cannot use '-f'.\n");
@@ -637,7 +637,7 @@ int main(int argc, char **argv)
                                if (CTX_data_scene(C)) {
                                        Scene *scene= CTX_data_scene(C);
                                        Render *re= RE_NewRender(scene->id.name);
-                                       RE_BlenderAnim(re, scene, scene->r.sfra, scene->r.efra, scene->frame_step);
+                                       RE_BlenderAnim(re, scene, scene->r.sfra, scene->r.efra, scene->r.frame_step);
                                } else {
                                        printf("\nError: no blend loaded. cannot use '-a'.\n");
                                }
@@ -677,7 +677,7 @@ int main(int argc, char **argv)
                                        Scene *scene= CTX_data_scene(C);
                                        if (a < argc) {
                                                int frame = atoi(argv[a]);
-                                               (scene->frame_step) = MIN2(MAXFRAME, MAX2(1, frame));
+                                               (scene->r.frame_step) = MIN2(MAXFRAME, MAX2(1, frame));
                                        }
                                } else {
                                        printf("\nError: no blend loaded. cannot use '-j'.\n");