[Bf-blender-cvs] [ab6157a] master: PyAPI: noise.seed_set(), note that zero is a special case.
Campbell Barton
noreply at git.blender.org
Thu Jan 30 07:56:18 CET 2014
Commit: ab6157a06ab49fc1f78f1575d373c83037cd39b7
Author: Campbell Barton
Date: Thu Jan 30 17:54:06 2014 +1100
https://developer.blender.org/rBab6157a06ab49fc1f78f1575d373c83037cd39b7
PyAPI: noise.seed_set(), note that zero is a special case.
===================================================================
M source/blender/python/mathutils/mathutils_noise.c
===================================================================
diff --git a/source/blender/python/mathutils/mathutils_noise.c b/source/blender/python/mathutils/mathutils_noise.c
index fe2b003..61bc2b6 100644
--- a/source/blender/python/mathutils/mathutils_noise.c
+++ b/source/blender/python/mathutils/mathutils_noise.c
@@ -353,6 +353,7 @@ PyDoc_STRVAR(M_Noise_seed_set_doc,
" Sets the random seed used for random_unit_vector, random_vector and random.\n"
"\n"
" :arg seed: Seed used for the random generator.\n"
+" When seed is zero, the current time will be used instead.\n"
" :type seed: Int\n"
);
static PyObject *M_Noise_seed_set(PyObject *UNUSED(self), PyObject *args)
More information about the Bf-blender-cvs
mailing list