Added console printout when rendering in parts, to keep track of progress.
[blender.git] / source / blender / render / intern / source / initrender.c
index b8c60ed3e80d47ffb8242dda862e36b1793068a0..05166bb4b81108dec59961f3b88804d7f98c9e99 100644 (file)
@@ -1019,9 +1019,15 @@ static void mainRenderLoop(void)  /* here the PART and FIELD loops */
                                                R.rectftot= NULL;
                                                pa->rectz= R.rectz;
                                                R.rectz= NULL;
+
+                                               if(!(R.r.mode & R_BORDER)) {
+                                                       printf("Rendered (%02d/%02d)\r", nr+1, totparts);
+                                                       fflush(stdout);
+                                               }
                                        }
                                }
 
+
                                if(RE_local_test_break()) break;
                        }