Blender Git Commit Log

Git Commits -> Revision a0e1080

Revision a0e1080 by Hans Goudey (master)
April 2, 2021, 05:16 (GMT)
Cleanup: Remove unecessary C API for direct mesh boolean

The main goal here is to remove the need for a C API to the code in
`mesh_boolean_convert.cc`. This is achieved by moving `MOD_boolean.c`
to C++ and making the necessary changes for it to compile. On top of
that there are some other slight simplifications possible to the
direct mesh boolean code: it doesn't need to copy the material
remaps, and the modifier code can use some other C++ types directly.

Commit Details:

Full Hash: a0e1080428abb991c443a40b29d2ae3948eb4a56
Parent Commit: 77f6857
Lines Changed: +745, -866

2 Added Paths:

/source/blender/blenkernel/BKE_mesh_boolean_convert.hh (+43, -0) (View)
/source/blender/modifiers/intern/MOD_boolean.cc (+659, -0) (View)

2 Deleted Paths:

/source/blender/blenkernel/BKE_mesh_boolean_convert.h (+0, -61)
/source/blender/modifiers/intern/MOD_boolean.c (+0, -728)

5 Modified Paths:

/source/blender/blenkernel/CMakeLists.txt (+1, -1) (Diff)
/source/blender/blenkernel/intern/mesh_boolean_convert.cc (+32, -74) (Diff)
/source/blender/bmesh/tools/bmesh_intersect.h (+8, -0) (Diff)
/source/blender/modifiers/CMakeLists.txt (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_boolean.cc (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021