diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-11-02 12:56:20 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-11-02 13:00:51 +0300 |
commit | f2873b3ce5403d4df48750f388b4c749bc8e3d7f (patch) | |
tree | 8a03a1cd3fe85d532b631f57f57d05d31ce4ce07 /source/blender/blenkernel/CMakeLists.txt | |
parent | ac8d7873278c47e8e282b7f83888108e2720a451 (diff) |
Multires: Prevent crash when joining two multires objects
This only works thing around, just so we can unlock production here.
Joining objects of a different scale will not yet work correctly.
Proper fix is coming later (the code needs to be ported to new
Subdiv API).
Diffstat (limited to 'source/blender/blenkernel/CMakeLists.txt')
-rw-r--r-- | source/blender/blenkernel/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/CMakeLists.txt b/source/blender/blenkernel/CMakeLists.txt index f2e2c0406af..b18b6f6d63d 100644 --- a/source/blender/blenkernel/CMakeLists.txt +++ b/source/blender/blenkernel/CMakeLists.txt @@ -545,6 +545,9 @@ if(WITH_OPENSUBDIV) list(APPEND INC_SYS ${OPENSUBDIV_INCLUDE_DIRS} ) + if(WITH_OPENSUBDIV_MODIFIER) + add_definitions(-DWITH_OPENSUBDIV_MODIFIER) + endif() endif() if(WITH_OPENVDB) |