fix for error in patch from r39821.
authorCampbell Barton <ideasman42@gmail.com>
Thu, 1 Sep 2011 01:13:50 +0000 (01:13 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 1 Sep 2011 01:13:50 +0000 (01:13 +0000)
source/blender/render/intern/source/pipeline.c

index 24c55332bff788d8fa1fa82cbb62ed1445f97e3c..681900140415114a7f03c9fb4bf446fe103150ca 100644 (file)
@@ -174,7 +174,7 @@ static void stats_background(void *UNUSED(arg), RenderStats *rs)
                        fprintf(stdout, "Sce: %s Ve:%d Fa:%d La:%d", rs->scenename, rs->totvert, rs->totface, rs->totlamp);
        }
 
-       BLI_exec_cb(rs, (ID *)rs, BLI_CB_EVT_RENDER_STATS);
+       BLI_exec_cb(G.main, NULL, BLI_CB_EVT_RENDER_STATS);
 
        fputc('\n', stdout);
        fflush(stdout);