e11da03e7ab66c1eb66c6f37e777a366f239332b
Name collisions can become a big issue in liboverrides when production files gets messy (weird overrides duplicates, bad resync with heavily changing assets, etc.). This commit tries to alleviate a bit the problem by generating 'more unique' names for liboverrides, when an exact match with the reference is not possible. So by default, in most common case, the liboverride ID will still have the exact same name as its linked reference. If this is not possible, then the new liboverride ID will get a name which is unique to within the whole current Main (for its ID type). In particular, this ensure that new override IDs are either named exactly as their references, or have a name which is not used by any other reference (linked) IDs. Note that this is not a perfect solution, since changes in library data can lead to name collisions later on. However, it should greatly reduce the frequency of such problems.
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
11%
C
6.3%
GLSL
2.2%
CMake
1.3%
Other
1.1%
