[Bf-blender-cvs] [d84cc6a] master: Compositor: Followup to previous stats commit

Sergey Sharybin noreply at git.blender.org
Fri Mar 27 14:24:18 CET 2015


Commit: d84cc6a18fb5d1e9248fb08cd288dc62d4bdcd14
Author: Sergey Sharybin
Date:   Fri Mar 27 18:21:39 2015 +0500
Branches: master
https://developer.blender.org/rBd84cc6a18fb5d1e9248fb08cd288dc62d4bdcd14

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.

===================================================================

M	source/blender/editors/space_node/node_edit.c

===================================================================

diff --git a/source/blender/editors/space_node/node_edit.c b/source/blender/editors/space_node/node_edit.c
index f79d6e2..6547aa9 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 */




More information about the Bf-blender-cvs mailing list