Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <julian@blender.org>2021-07-02 13:41:53 +0300
committerJulian Eisel <julian@blender.org>2021-07-02 14:49:30 +0300
commit01e1944cd455448e8634ab2c44ca8a96c73af628 (patch)
tree30c29f8114c65493b3d28290098cef10e9fc0b3f /tests/python/bl_constraints.py
parent29b65f5345128ee035599aa7233315a74fe6afe6 (diff)
File Browser: Refactor file "UUID" code (which wasn't really a "UUID")
To some degree these are changes in preparation of further Asset Browser related changes, see D11119. But also, the current UUID design was written for the old Asset Engine design, which isn't part of the current Asset Browser/System design anymore. And lastly, "UUID" are a well established standard (https://en.wikipedia.org/wiki/Universally_unique_identifier) which this implementation didn't follow. What we have here is more of an index, or a unique identifier (https://en.wikipedia.org/wiki/Unique_identifier). So this does the following changes: * Renames "UUID" to "UID" * Changes the type of the UID to (a typedef'ed) `uint32_t`, which is more than enough for our current asset system design and simplifies things. * Due to the new type, we can avoid allocations for hash-table storage. * Add/use functions for UID handling Note that I am working on a major rewrite of the file-list code. Meanwhile we want to keep things sensible.
Diffstat (limited to 'tests/python/bl_constraints.py')
0 files changed, 0 insertions, 0 deletions