From 81e0973dec0085286ae2a80f6f8a8da896fb5b48 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Fri, 19 Apr 2019 11:11:27 +0200 Subject: 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. --- source/blender/editors/screen/screen_edit.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'source/blender/editors/screen/screen_edit.c') 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); - } - } - } } /* -- cgit v1.2.3