Render: Remove global RNG usage

We shouldn't be using BI textures anyway. But in any case, adding noise
texture to compositor is doing proper seed updates already, so probably
was already ported to a proper RNG usage.
This commit is contained in:
Sergey Sharybin 2018-06-12 15:18:54 +02:00
parent b6b1e0f56c
commit 46cb64917d
1 changed files with 0 additions and 3 deletions

View File

@ -1564,9 +1564,6 @@ static void do_render_composite(Render *re)
bNodeTree *ntree = re->scene->nodetree;
int update_newframe = 0;
/* INIT seeding, compositor can use random texture */
BLI_srandom(re->r.cfra);
if (composite_needs_render(re->scene, 1)) {
/* save memory... free all cached images */
ntreeFreeCache(ntree);