Blender Git Loki

Git Commits -> Revision 03fa0ef

Revision 03fa0ef by Sybren A. Stüvel (temp-ui-tweaks)
September 22, 2021, 13:54 (GMT)
UUID: include 'seconds' field of current time in RNG seed

XOR the 'seconds' and 'nanoseconds' fields of the current time to seed the
RNG used for generating random UUIDs. This ensures a better seed just in
case the clock as no sub-second resolution.

Commit Details:

Full Hash: 03fa0ef0333a5a9019328b5eef02490a0aa4739d
Parent Commit: 9f576b7
Committed By: Pablo Vazquez
Lines Changed: +4, -1

1 Modified Path:

/source/blender/blenlib/intern/ (+4, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021