Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-11-02 12:56:20 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-11-02 13:00:51 +0300
commitf2873b3ce5403d4df48750f388b4c749bc8e3d7f (patch)
tree8a03a1cd3fe85d532b631f57f57d05d31ce4ce07 /source/blender/blenkernel/CMakeLists.txt
parentac8d7873278c47e8e282b7f83888108e2720a451 (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.txt3
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)