It seems to be ok, but please have a look to "BKE_mesh_to_bmesh" (line 47) and "BKE_bmesh_to_mesh" (line 51), because I'm not sure to give them the good parameters.
Details
Details
Diff Detail
Diff Detail
- Repository
- rB Blender
- Branch
- mod_triangulate_to2.8 (branched from blender2.8)
- Build Status
Buildable 1508 Build 1508: arc lint + arc unit
Event Timeline
Comment Actions
Several correction in order to follow the instructions given for boolean (code change the less possible).
Comment Actions
There were some issues, which I fixed myself. Thanks for your contribution!
| source/blender/modifiers/intern/MOD_triangulate.c | ||
|---|---|---|
| 32 | This #include is no longer necessary. | |
| 36 | Keep the #includes grouped, so add DNA_xxx files to the already-existing #include "DNA_xxx" statements. | |
| 51 | The DM_to_bmesh call also calculated normals, which your code does not. | |