Blender Git Loki

Git Commits -> Revision e1d7ce0

Revision e1d7ce0 by Sybren A. Stvel (master)
September 17, 2021, 10:22 (GMT)
Blenlib: introduce a UUID type

Add `BLI_uuid` and `DNA_uuid_types.h` with a UUID implementation
following RFC4122 (

The following features are implemented:
- A struct of 128 bits that can be used in DNA definitions.
- Generation of version 4 UUIDs, that is, purely random ones.
- UUID equality function.
- String to UUID and UUID to string conversion functions that are
compatible with RFC4122.
- C++ stream operator that outputs the UUID as string.

This UUID will be used by the asset system, to uniquely identify asset

Reviewed By: Severin, jacqueslucke

Differential Revision:

Commit Details:

Full Hash: e1d7ce005f9f9ca84befdd531014d498966f27fc
Parent Commit: 1cd20b0
Lines Changed: +367, -0

Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2022