16e4eeb9c0260fb93f7b2cf0b4890ba6dbccae36
For text objects, the CharInfo mat_nr material index used to start at 1 (not at zero like for meshes or nurbs). Code was mostly considering this (but not in all places, so material index handling (removing/moving) could still go wrong. As an alternative to !109746 (where it was made sure all places would make the right assumption about mat_nr starting at 1), this PR now changes the mat_nr to be zero-based. This is more in line with other places handling material indices. Versioning code is in place to properly convert old files. Fixes #109491 Pull Request: https://projects.blender.org/blender/blender/pulls/112954
…
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%
