Blender Git Commit Log

Git Commits -> Revision f1f3552

Revision f1f3552 by Sybren A. Stüvel (temp-ui-tweaks)
September 22, 2021, 13:54 (GMT)
UUID: add nil value for UUIDs

Add `BLI_uuid_nil()` that returns the nil UUID (used to indicate "not
set") and `BLI_uuid_is_nil(uuid)` to do an equality test with the nil
value.

Commit Details:

Full Hash: f1f3552b9b427146725c71874fd79dc7daccf411
Parent Commit: 03a10c3
Committed By: Pablo Vazquez
Lines Changed: +32, -0

3 Modified Paths:

/source/blender/blenlib/BLI_uuid.h (+8, -0) (Diff)
/source/blender/blenlib/intern/uuid.cc (+11, -0) (Diff)
/source/blender/blenlib/tests/BLI_uuid_test.cc (+13, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021