e260bc64daa11fa65569aceb92c1133879ebe4ea
Logic in `main_namemap_validate_and_fix` could end up re-generating a thousand of time the names of IDs because of an invalid assumption about processed IDs being re-processable (in case they get renamed). Also do not `CLOG_ERROR` when checking and fixing errors, if this code is called to fix errors, it means errors are expected. Use `CLOG_INFO` instead, or `CLOG_WARN` when the info is really important (like when IDs had to be renamed). And finally, simplify code clearing invalid namemaps, there is now a function to handle this task, `BKE_main_namemap_clear`. Issues & improvements found while working on readfile errors when opening `lib/tests/libraries_and_linking/libraries/main_scene.blend`.
…
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%
