diff options
author | Jacques Lucke <jacques@blender.org> | 2020-02-20 12:05:47 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-02-20 12:05:47 +0300 |
commit | 0e48bb26afd36af536f3eda8a9cb2f86862dc020 (patch) | |
tree | c7a37187e9f3f1294d9e00a845f551d7318cc206 /source/blender/modifiers/CMakeLists.txt | |
parent | 2a6df7dfe5ae9c25780166771c56ff921cc90f63 (diff) |
Modifiers: Refactor Mask modifier
The functionality of the mask modifier remains unchanged.
This patch updates the mask modifier so that it uses C++.
The manual memory management has been replaced with proper containers.
The large `applyModifier` function has been splitup into multiple smaller functions.
A large speedup is achieved by using simple arrays instead of hash tables in multiple places.
In my performance test file the playback speed increased from 1.1 to 5.1 fps on my laptop.
Reviewers: campbellbarton, brecht
Differential Revision: https://developer.blender.org/D6779
Diffstat (limited to 'source/blender/modifiers/CMakeLists.txt')
-rw-r--r-- | source/blender/modifiers/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/CMakeLists.txt b/source/blender/modifiers/CMakeLists.txt index cec7ddb4b68..3e340461673 100644 --- a/source/blender/modifiers/CMakeLists.txt +++ b/source/blender/modifiers/CMakeLists.txt @@ -59,7 +59,7 @@ set(SRC intern/MOD_laplaciandeform.c intern/MOD_laplaciansmooth.c intern/MOD_lattice.c - intern/MOD_mask.c + intern/MOD_mask.cc intern/MOD_meshcache.c intern/MOD_meshcache_mdd.c intern/MOD_meshcache_pc2.c |