Philipp Oeser
f3c32a36bc
Fix #103562 : preserve custom normals in BM_mesh_triangulate
...
`BM_mesh_triangulate` is used in exporters (when the "Triangulate"
option is ON), the `Triangulate` modifier and currently also in the
`Triangulate` geometry node (even though there are plans to change this,
see !112264 )
So in practice, exporters (Alembic/FBX/OBJ/Collada) were breaking
custom normals for game pipelines (unless everything was triangulated
beforehand).
This change builds upon 93c8955a72 (uses the use
`BM_custom_loop_normals_to_vector_layer` /
`BM_custom_loop_normals_from_vector_layer` pair of calls).
In the case of the `Triangulate` modifier, this had its own try at
preserving custom normals in 7d0fcaa69a -- doing very similar
things but as an option -- this is now removed (so it is always done,
which fits into "interpolate custom data if it's there" design that we have
nowadays).
NOTE: the "Triangulate Faces" operator already did the same
Pull Request: https://projects.blender.org/blender/blender/pulls/121871
2024-05-23 17:33:40 +02:00
..
2024-05-13 15:58:04 +02:00
2023-08-16 00:20:26 +10:00
2024-05-13 15:58:04 +02:00
2024-05-13 15:58:04 +02:00
2024-05-13 15:58:04 +02:00
2024-03-18 15:04:12 +01:00
2024-03-18 15:04:12 +01:00
2024-01-26 12:40:01 +01:00
2024-03-18 15:04:12 +01:00
2024-05-03 10:20:01 -04:00
2024-01-03 13:38:14 +01:00
2024-03-18 15:04:12 +01:00
2024-04-26 17:10:04 +02:00
2024-04-26 17:10:04 +02:00
2024-03-18 15:04:12 +01:00
2023-09-04 15:59:40 +02:00
2024-03-18 15:04:12 +01:00
2023-09-04 15:59:40 +02:00
2023-09-04 15:59:40 +02:00
2024-03-18 15:04:12 +01:00
2024-05-09 22:25:46 +02:00
2024-03-21 15:35:02 +01:00
2024-03-26 17:55:20 +11:00
2024-03-18 15:04:12 +01:00
2024-04-15 10:42:54 +02:00
2023-09-04 15:59:40 +02:00
2024-03-18 15:04:12 +01:00
2023-12-21 03:29:18 +01:00
2024-03-18 15:04:12 +01:00
2023-05-31 16:19:06 +02:00
2024-01-03 13:38:14 +01: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
2024-04-22 12:26:12 +02: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
2024-04-09 17:59:20 +02:00
2024-03-18 15:04:12 +01:00
2024-03-18 15:04:12 +01:00
2023-09-04 15:59:40 +02:00
2024-04-03 15:34:40 +02:00
2024-05-22 15:25:00 +02:00
2024-05-13 15:58:04 +02:00
2024-05-21 18:16:36 +02:00
2024-03-18 15:04:12 +01:00
2024-03-26 17:55:20 +11:00
2023-10-30 21:40:35 +01:00
2024-01-18 13:17:24 +01:00
2024-03-18 15:04:12 +01:00
2023-09-04 15:59:40 +02:00
2024-04-08 22:10:39 +02:00
2024-05-18 17:21:47 +02:00
2024-05-18 17:21:47 +02:00
2024-05-08 18:22:44 +02:00
2024-05-08 18:22:44 +02:00
2024-03-18 15:04:12 +01:00
2024-03-18 15:04:12 +01:00
2023-09-04 15:59:40 +02:00
2023-09-04 15:59:40 +02:00
2023-10-30 21:40:35 +01:00
2024-03-18 15:04:12 +01:00
2024-04-30 20:32:46 +02:00
2024-03-18 15:04:12 +01:00
2024-03-21 23:18:49 +01:00
2024-03-18 15:04:12 +01:00
2024-03-18 15:04:12 +01:00
2023-09-04 15:59:40 +02:00
2024-05-07 12:59:13 +10:00
2024-05-23 17:33:40 +02:00
2024-05-06 17:56:56 +02:00
2024-01-23 20:26:55 +11:00
2023-09-04 15:59:40 +02:00
2024-05-13 16:28:19 +02:00
2024-05-20 15:12:15 -04:00
2024-03-18 15:04:12 +01:00
2024-04-25 14:23:46 +02:00
2023-09-04 15:59:40 +02:00
2024-03-27 18:06:31 +01:00
2024-03-18 15:04:12 +01:00
2023-09-18 12:14:54 +02:00
2023-09-04 15:59:40 +02:00
2024-03-18 15:04:12 +01:00
2024-03-18 15:04:12 +01:00
2023-09-04 15:59:40 +02:00
2024-03-18 15:04:12 +01:00
2023-09-04 15:59:40 +02:00
2024-03-29 13:29:30 +11:00
2024-05-14 16:36:12 +02:00
2024-05-14 12:24:21 -04:00
2024-05-16 14:53:09 +02:00
2024-05-16 00:11:47 +02:00
2023-09-04 15:59:40 +02:00
2024-05-08 11:13:20 +02:00
2024-01-22 13:47:13 +01:00
2023-09-04 15:59:40 +02:00
2023-09-25 17:06:04 +10:00
2024-03-18 15:04:12 +01:00
2024-05-02 16:36:11 +02:00
2024-03-18 15:04:12 +01:00
2023-09-04 15:59:40 +02:00
2023-09-04 15:59:40 +02:00
2024-03-18 15:04:12 +01:00
2023-12-17 16:04:42 +11:00
2023-09-04 15:59:40 +02:00
2024-05-14 20:59:03 +10:00
2023-09-04 15:59:40 +02:00
2024-05-23 13:50:06 +10:00
2023-09-04 15:59:40 +02:00
2023-08-16 00:20:26 +10:00
2024-03-18 15:04:12 +01:00
2023-09-04 15:59:40 +02:00
2024-01-10 10:04:13 +11:00
2024-03-18 15:04:12 +01:00
2023-09-04 15:59:40 +02:00
2024-04-08 16:23:25 +10:00
2023-08-16 00:20:26 +10:00
2024-03-18 15:04:12 +01:00
2024-01-06 13:26:59 +01:00
2024-04-24 10:32:23 +10:00
2024-05-06 23:52:37 +02:00
2024-05-14 16:36:12 +02:00
2024-05-14 16:36:12 +02:00
2023-12-15 22:57:34 +11:00