Blender Git Commit Log

Git Commits -> Revision b1d7085

Revision b1d7085 by Jacques Lucke (vr_scene_inspection)
February 20, 2020, 12:00 (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: b1d7085641680a9c3cd26c9319d0e07c6ea8793a
Parent Commit: 2686bc8
Committed By: Julian Eisel
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)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021