Blender Git Loki

Git Commits -> Revision 4eba920

Revision 4eba920 by Sybren A. Stüvel (master)
September 20, 2021, 10:10 (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: 4eba920d15183e73ab8c2c9986b621aec4cbeca9
Parent Commit: 1f51672
Lines Changed: +4, -1

1 Modified Path:

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