Blender Git Loki

Git Commits -> Revision 0e48bb2

Revision 0e48bb2 by Jacques Lucke (master)
February 20, 2020, 09:05 (GMT)
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

Commit Details:

Full Hash: 0e48bb26afd36af536f3eda8a9cb2f86862dc020
Parent Commit: 2a6df7d
Lines Changed: +418, -389

1 Added Path:

/source/blender/modifiers/intern/MOD_mask.cc (+417, -0) (View)

1 Deleted Path:

/source/blender/modifiers/intern/MOD_mask.c (+0, -388)

1 Modified Path:

/source/blender/modifiers/CMakeLists.txt (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021