Fix for bug #17713: touch/no override for rendering was broken.
[blender.git] / source / blender / render / intern / source / pipeline.c
index 6bdd57612c7ccd34d23169627cce223f6e3d9ced..1dfcbc6e45ddb100c5867b399b47452aa19f9157 100644 (file)
@@ -2613,6 +2613,8 @@ void RE_BlenderAnim(Render *re, Scene *scene, int sfra, int efra, int tfra)
                                scene_update_for_newframe(scene, lay);
                                continue;
                        }
+                       else
+                               nfra+= tfra;
 
                        if (scene->r.mode & (R_NO_OVERWRITE | R_TOUCH) ) {
                                BKE_makepicstring(name, scene->r.pic, scene->r.cfra, scene->r.imtype);
@@ -2643,7 +2645,6 @@ void RE_BlenderAnim(Render *re, Scene *scene, int sfra, int efra, int tfra)
                                
                                break;
                        }
-                       nfra+= tfra;
                }
        }