Blender Git Loki
Git Commits -> Revision afb4b65
Revision afb4b65 by Brecht Van Lommel (master) April 15, 2013, 23:12 (GMT) |
Random number generator: replace a bunch of usage of the global random number generator with a local one. It's not thread safe and will not give repeatable results, so in most cases it should not be used. Also fixes #34992 where the noise texture of a displacement modifier was not properly random in opengl animation render, because the seed got reset to a fixed value by an unrelated function while for final render it changed each frame. |
Commit Details:
Full Hash: afb4b65167165613f177a531bd3d4dcb3649c1c6
SVN Revision: 56073
Parent Commit: 638b084
Lines Changed: +247, -158
31 Modified Paths:
/source/blender/blenkernel/BKE_boids.h (+4, -0) (Diff)
/source/blender/blenkernel/BKE_particle.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/anim.c (+16, -7) (Diff)
/source/blender/blenkernel/intern/boids.c (+13, -13) (Diff)
/source/blender/blenkernel/intern/effect.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/ocean.c (+13, -8) (Diff)
/source/blender/blenkernel/intern/particle.c (+10, -3) (Diff)
/source/blender/blenkernel/intern/particle_system.c (+27, -20) (Diff)
/source/blender/blenkernel/intern/smoke.c (+3, -0) (Diff)
/source/blender/blenlib/BLI_rand.h (+7, -16) (Diff)
/source/blender/blenlib/intern/jitter.c (+7, -3) (Diff)
/source/blender/blenlib/intern/rand.c (+25, -17) (Diff)
/source/blender/bmesh/operators/bmo_edgenet.c (+5, -2) (Diff)
/source/blender/bmesh/operators/bmo_subdivide.c (+6, -4) (Diff)
/source/blender/editors/curve/editcurve.c (+0, -2) (Diff)
/source/blender/editors/gpencil/gpencil_edit.c (+12, -8) (Diff)
/source/blender/editors/mesh/editmesh_knife.c (+7, -5) (Diff)
/source/blender/editors/mesh/editmesh_select.c (+0, -2) (Diff)
/source/blender/editors/mesh/editmesh_tools.c (+12, -6) (Diff)
/source/blender/editors/metaball/mball_edit.c (+0, -1) (Diff)
/source/blender/editors/physics/particle_edit.c (+6, -3) (Diff)
/source/blender/editors/transform/transform_generics.c (+0, -1) (Diff)
/source/blender/editors/uvedit/uvedit_unwrap_ops.c (+4, -2) (Diff)
/source/blender/modifiers/intern/MOD_explode.c (+5, -2) (Diff)
/source/blender/modifiers/intern/MOD_particleinstance.c (+1, -2) (Diff)
/source/blender/modifiers/intern/MOD_weightvgedit.c (+10, -1) (Diff)
/source/blender/modifiers/intern/MOD_weightvgproximity.c (+13, -4) (Diff)
/source/blender/modifiers/intern/MOD_weightvg_util.c (+2, -3) (Diff)
/source/blender/modifiers/intern/MOD_weightvg_util.h (+3, -1) (Diff)
/source/blender/render/intern/source/convertblender.c (+13, -8) (Diff)
/source/blender/render/intern/source/rayshade.c (+20, -14) (Diff)
/source/blender/blenkernel/BKE_particle.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/anim.c (+16, -7) (Diff)
/source/blender/blenkernel/intern/boids.c (+13, -13) (Diff)
/source/blender/blenkernel/intern/effect.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/ocean.c (+13, -8) (Diff)
/source/blender/blenkernel/intern/particle.c (+10, -3) (Diff)
/source/blender/blenkernel/intern/particle_system.c (+27, -20) (Diff)
/source/blender/blenkernel/intern/smoke.c (+3, -0) (Diff)
/source/blender/blenlib/BLI_rand.h (+7, -16) (Diff)
/source/blender/blenlib/intern/jitter.c (+7, -3) (Diff)
/source/blender/blenlib/intern/rand.c (+25, -17) (Diff)
/source/blender/bmesh/operators/bmo_edgenet.c (+5, -2) (Diff)
/source/blender/bmesh/operators/bmo_subdivide.c (+6, -4) (Diff)
/source/blender/editors/curve/editcurve.c (+0, -2) (Diff)
/source/blender/editors/gpencil/gpencil_edit.c (+12, -8) (Diff)
/source/blender/editors/mesh/editmesh_knife.c (+7, -5) (Diff)
/source/blender/editors/mesh/editmesh_select.c (+0, -2) (Diff)
/source/blender/editors/mesh/editmesh_tools.c (+12, -6) (Diff)
/source/blender/editors/metaball/mball_edit.c (+0, -1) (Diff)
/source/blender/editors/physics/particle_edit.c (+6, -3) (Diff)
/source/blender/editors/transform/transform_generics.c (+0, -1) (Diff)
/source/blender/editors/uvedit/uvedit_unwrap_ops.c (+4, -2) (Diff)
/source/blender/modifiers/intern/MOD_explode.c (+5, -2) (Diff)
/source/blender/modifiers/intern/MOD_particleinstance.c (+1, -2) (Diff)
/source/blender/modifiers/intern/MOD_weightvgedit.c (+10, -1) (Diff)
/source/blender/modifiers/intern/MOD_weightvgproximity.c (+13, -4) (Diff)
/source/blender/modifiers/intern/MOD_weightvg_util.c (+2, -3) (Diff)
/source/blender/modifiers/intern/MOD_weightvg_util.h (+3, -1) (Diff)
/source/blender/render/intern/source/convertblender.c (+13, -8) (Diff)
/source/blender/render/intern/source/rayshade.c (+20, -14) (Diff)