diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-03-27 16:23:11 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-03-27 16:23:32 +0300 |
commit | 1c2f1ff7251ba563e98b617aa6417c832cb7159a (patch) | |
tree | acbf4cbc387901f05d104f1019b6e56e66a49971 /source | |
parent | d84cc6a18fb5d1e9248fb08cd288dc62d4bdcd14 (diff) |
Compositor: Cleanup, remove unused need_sync parameter
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/space_node/node_edit.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/source/blender/editors/space_node/node_edit.c b/source/blender/editors/space_node/node_edit.c index 6547aa97bd2..b8b8d5f53b8 100644 --- a/source/blender/editors/space_node/node_edit.c +++ b/source/blender/editors/space_node/node_edit.c @@ -93,7 +93,6 @@ typedef struct CompoJob { const short *stop; short *do_update; float *progress; - short need_sync; int recalc_flags; } CompoJob; @@ -201,17 +200,8 @@ static void compo_initjob(void *cjv) } /* called before redraw notifiers, it moves finished previews over */ -static void compo_updatejob(void *cjv) +static void compo_updatejob(void *UNUSED(cjv)) { - CompoJob *cj = cjv; - - if (cj->need_sync) { - /* was used by old compositor system only */ - ntreeLocalSync(cj->localtree, cj->ntree); - - cj->need_sync = false; - } - WM_main_add_notifier(NC_SCENE | ND_COMPO_RESULT, NULL); } |