From d84cc6a18fb5d1e9248fb08cd288dc62d4bdcd14 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Fri, 27 Mar 2015 18:21:39 +0500 Subject: [PATCH] Compositor: Followup to previous stats commit No need to mark tree for localization, it was never done and it all just worked. We can save some CPU ticks by skipping doing this. --- source/blender/editors/space_node/node_edit.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/blender/editors/space_node/node_edit.c b/source/blender/editors/space_node/node_edit.c index f79d6e26f22..6547aa97bd2 100644 --- a/source/blender/editors/space_node/node_edit.c +++ b/source/blender/editors/space_node/node_edit.c @@ -162,13 +162,12 @@ static int compo_breakjob(void *cjv) ); } -/* called by compo, wmJob sends notifier, old compositor system only */ +/* called by compo, wmJob sends notifier */ static void compo_statsdrawjob(void *cjv, char *UNUSED(str)) { CompoJob *cj = cjv; *(cj->do_update) = true; - cj->need_sync = true; } /* called by compo, wmJob sends notifier */