diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-04-19 12:11:27 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-04-19 16:16:33 +0300 |
commit | 81e0973dec0085286ae2a80f6f8a8da896fb5b48 (patch) | |
tree | e09e8b973058e3c6d0d548b633e22b8a8c9eefe5 /source/blender/editors/screen | |
parent | d892f1037c43e3d94b26f05d1e1947b62add2e58 (diff) |
Cleanup: Remove unneeded texture nodes update function
The function was calling update() on the time curve, but there
is no update callback on that node. So, effectively the function
was doing nothing.
Diffstat (limited to 'source/blender/editors/screen')
-rw-r--r-- | source/blender/editors/screen/screen_edit.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/source/blender/editors/screen/screen_edit.c b/source/blender/editors/screen/screen_edit.c index 259076f194f..8916577a33d 100644 --- a/source/blender/editors/screen/screen_edit.c +++ b/source/blender/editors/screen/screen_edit.c @@ -1451,16 +1451,6 @@ void ED_update_for_newframe(Main *bmain, Depsgraph *depsgraph) /* composite */ if (scene->use_nodes && scene->nodetree) ntreeCompositTagAnimated(scene->nodetree); - - /* update animated texture nodes */ - { - Tex *tex; - for (tex = bmain->textures.first; tex; tex = tex->id.next) { - if (tex->use_nodes && tex->nodetree) { - ntreeTexTagAnimated(tex->nodetree); - } - } - } } /* |