Files
test/source/blender/blenkernel/intern
Philipp Oeser 16e4eeb9c0 Text objects: make CharInfo mat_nr zero-based
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
2023-09-28 11:46:52 +02:00
..
2023-09-25 17:53:11 -04:00
2023-09-25 17:53:11 -04:00
2023-09-25 17:53:11 -04:00
2023-09-25 17:53:11 -04:00
2023-07-04 17:03:02 +02:00
2023-07-28 09:38:07 +10:00
2023-08-28 15:01:05 +02:00
2023-09-22 03:18:17 +02:00
2023-09-25 17:53:11 -04:00
2023-09-25 17:53:11 -04:00
2023-09-25 17:53:11 -04:00
2023-09-25 17:53:11 -04:00
2023-09-25 15:25:43 +10:00
2023-08-28 15:01:05 +02:00
2023-08-21 10:05:45 +10:00
2023-07-22 11:46:41 +10:00