[Bf-blender-cvs] [46cb64917d8] blender2.8: Render: Remove global RNG usage
Sergey Sharybin
noreply at git.blender.org
Tue Jun 12 15:38:33 CEST 2018
Commit: 46cb64917d87af69d49800b7b575a55365a3b0df
Author: Sergey Sharybin
Date: Tue Jun 12 15:18:54 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB46cb64917d87af69d49800b7b575a55365a3b0df
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.
===================================================================
M source/blender/render/intern/source/pipeline.c
===================================================================
diff --git a/source/blender/render/intern/source/pipeline.c b/source/blender/render/intern/source/pipeline.c
index 5976fe283a8..98a08564905 100644
--- a/source/blender/render/intern/source/pipeline.c
+++ b/source/blender/render/intern/source/pipeline.c
@@ -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);
More information about the Bf-blender-cvs
mailing list