From 0e48bb26afd36af536f3eda8a9cb2f86862dc020 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Thu, 20 Feb 2020 10:05:47 +0100 Subject: 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 --- source/blender/modifiers/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/modifiers/CMakeLists.txt') 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 -- cgit v1.2.3