01ddb320dd99be718dcefe3662129208894218bf
While object names in Blender are already unique, the names themselves may be "unsafe" for use in the various file formats. During processing we make the names "safe". However, we did not guarantee that these new safe names were themselves unique wrt each other. Consider object names "Test 1" and "Test-1" which both become "Test_1" after being made safe. These will collide during export; only 1 object would be exported and it's undefined which object's data would "win". To rectify this we add another name map to the hierarchy iterator which is then used to handle collisions as they happen. The map is per- hierarchy meaning that a name can appear more than once as long as its under a different hierarchy. E.g. - `/root/A/X` and another `/root/B/X` is OK - `/root/A/X` and another `/root/A/X` is NOT OK Pull Request: https://projects.blender.org/blender/blender/pulls/135418
…
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
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
