diff options
author | Howard Trickey <howard.trickey@gmail.com> | 2021-02-22 01:57:03 +0300 |
---|---|---|
committer | Howard Trickey <howard.trickey@gmail.com> | 2021-02-22 01:57:03 +0300 |
commit | a3f091d7ceda77181422625135225e55afa612c8 (patch) | |
tree | e0529be5ae4da66a1d7fbc3e35162b925f519dc5 /source/blender/blenkernel/CMakeLists.txt | |
parent | 7883eb04ed3a3718a5a3b5e598c0e12eb9708d9f (diff) |
Change Exact Boolean modifier to skip round trip through BMesh.
The Exact modifier code had been written to avoid using BMesh but
in the initial release the modifier still converted all Meshes to
BMeshes, and then after running the boolean code on the BMeshes,
converted the result back to a Mesh.
This change skips that. Most of the work here is in getting the
Custom Data layers right. The approach taken is to merge default
layers from all operand meshes into the final result, and then
use the original verts, edges, polys, and loops to copy or interpolate
the appropriate custom data layers from all operands into the result.
Diffstat (limited to 'source/blender/blenkernel/CMakeLists.txt')
-rw-r--r-- | source/blender/blenkernel/CMakeLists.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source/blender/blenkernel/CMakeLists.txt b/source/blender/blenkernel/CMakeLists.txt index 325744f4006..1e7986eedd9 100644 --- a/source/blender/blenkernel/CMakeLists.txt +++ b/source/blender/blenkernel/CMakeLists.txt @@ -172,6 +172,7 @@ set(SRC intern/mball.c intern/mball_tessellate.c intern/mesh.c + intern/mesh_boolean_convert.cc intern/mesh_convert.c intern/mesh_evaluate.c intern/mesh_fair.cc @@ -363,6 +364,7 @@ set(SRC BKE_mball.h BKE_mball_tessellate.h BKE_mesh.h + BKE_mesh_boolean_convert.h BKE_mesh_fair.h BKE_mesh_iterators.h BKE_mesh_mapping.h @@ -728,6 +730,14 @@ if(WITH_TBB) ) endif() +if(WITH_GMP) + add_definitions(-DWITH_GMP) + + list(APPEND INC_SYS + ${GMP_INCLUDE_DIRS} + ) + endif() + # # Warnings as errors, this is too strict! # if(MSVC) # string(APPEND CMAKE_C_FLAGS " /WX") |