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-27 01:45:59 +02:00
2023-08-16 00:20:26 +10:00
2023-09-27 13:03:29 +10:00
2023-09-04 15:59:40 +02:00
2023-08-16 00:20:26 +10:00
2023-09-26 15:43:59 +02:00
2023-08-16 00:20:26 +10:00
2023-09-04 15:59:40 +02:00
2023-09-04 15:59:40 +02:00
2023-08-16 00:20:26 +10:00
2023-09-04 15:59:40 +02:00
2023-09-25 12:05:50 +10:00
2023-08-16 00:20:26 +10:00
2023-09-04 15:59:40 +02:00
2023-08-22 15:49:34 +02:00
2023-09-04 15:59:40 +02:00
2023-09-04 15:59:40 +02:00
2023-08-16 00:20:26 +10:00
2023-09-04 15:59:40 +02:00
2023-09-04 15:59:40 +02:00
2023-09-06 14:23:01 +10:00
2023-08-16 00:20:26 +10:00
2023-09-28 11:46:52 +02:00
2023-09-04 15:59:40 +02:00
2023-08-16 00:20:26 +10:00
2023-09-27 10:26:06 +02:00
2023-09-04 15:59:40 +02:00
2023-05-31 16:19:06 +02:00
2023-08-16 00:20:26 +10:00
2023-07-31 13:02:30 +10:00
2023-09-04 15:59:40 +02:00
2023-09-04 15:59:40 +02:00
2023-09-04 15:59:40 +02:00
2023-08-16 00:20:26 +10:00
2023-09-04 15:59:40 +02:00
2023-09-04 15:59:40 +02:00
2023-09-25 13:20:17 +10:00
2023-09-25 12:05:50 +10:00
2023-09-25 12:05:50 +10:00
2023-09-25 12:05:50 +10:00
2023-09-04 15:59:40 +02:00
2023-09-25 12:11:18 +02:00
2023-08-16 00:20:26 +10:00
2023-09-03 21:35:07 +10:00
2023-08-16 00:20:26 +10:00
2023-09-04 15:59:40 +02:00
2023-09-04 15:59:40 +02:00
2023-09-04 15:59:40 +02:00
2023-08-16 00:20:26 +10:00
2023-09-04 15:59:40 +02:00
2023-09-11 20:14:04 +02:00
2023-09-26 23:42:40 +02:00
2023-09-26 23:42:40 +02:00
2023-09-04 23:27:30 +02:00
2023-09-04 23:27:30 +02:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-09-04 15:59:40 +02:00
2023-09-04 15:59:40 +02:00
2023-09-04 15:59:40 +02:00
2023-08-16 00:20:26 +10:00
2023-09-04 15:59:40 +02:00
2023-08-16 00:20:26 +10:00
2023-09-04 15:59:40 +02:00
2023-09-07 08:36:43 -04:00
2023-08-16 00:20:26 +10:00
2023-09-04 15:59:40 +02:00
2023-08-16 00:20:26 +10:00
2023-09-26 20:30:46 +02:00
2023-08-16 00:20:26 +10:00
2023-09-04 15:59:40 +02:00
2023-09-04 15:59:40 +02:00
2023-09-25 13:39:44 +02:00
2023-09-28 11:24:48 +02:00
2023-08-16 00:20:26 +10:00
2023-09-04 15:59:40 +02:00
2023-09-04 15:59:40 +02:00
2023-09-04 15:59:40 +02:00
2023-09-26 20:37:15 +02:00
2023-09-18 12:14:54 +02:00
2023-09-04 15:59:40 +02:00
2023-08-16 00:20:26 +10:00
2023-09-04 15:59:40 +02:00
2023-09-04 15:59:40 +02:00
2023-08-16 00:20:26 +10:00
2023-09-04 15:59:40 +02:00
2023-09-04 15:59:40 +02:00
2023-09-26 23:46:08 +02:00
2023-05-31 16:19:06 +02:00
2023-09-28 11:20:53 +10:00
2023-09-27 11:31:21 +02:00
2023-09-04 15:59:40 +02:00
2023-09-27 01:45:59 +02:00
2023-09-04 15:59:40 +02:00
2023-09-04 15:59:40 +02:00
2023-09-25 17:06:04 +10:00
2023-08-16 00:20:26 +10:00
2023-09-27 15:47:22 +02:00
2023-08-16 00:20:26 +10:00
2023-09-04 15:59:40 +02:00
2023-09-04 15:59:40 +02:00
2023-08-16 00:20:26 +10:00
2023-09-04 15:59:40 +02:00
2023-09-04 15:59:40 +02:00
2023-08-16 00:20:26 +10:00
2023-09-04 15:59:40 +02:00
2023-09-28 13:42:29 +10:00
2023-09-04 15:59:40 +02:00
2023-08-16 00:20:26 +10:00
2023-09-04 15:59:40 +02:00
2023-09-04 15:59:40 +02:00
2023-09-04 15:59:40 +02:00
2023-08-16 00:20:26 +10:00
2023-09-04 15:59:40 +02:00
2023-09-04 15:59:40 +02:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-09-04 15:59:40 +02:00
2023-09-07 15:54:55 +10:00
2023-09-04 15:59:40 +02:00
2023-08-16 00:20:26 +10:00
2023-09-04 15:59:40 +02:00
2023-09-04 15:59:40 +02:00