diff options
author | Hans Goudey <h.goudey@me.com> | 2022-03-11 20:34:03 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-03-11 20:34:03 +0300 |
commit | 22807d2075b0bcc7b5ae655ba43b08a4e44b002b (patch) | |
tree | 190043a64dfd78722804a40bd9b3ad835b851e16 /source/blender/blenkernel/CMakeLists.txt | |
parent | 3b28c785d4e438428af3aa513d56f5fd394498e4 (diff) |
Curves: Move constructor/assignment
Add the ability to move `CurvesGeometry` without copying its attributes
and data. The benefit is more intuitive management of the data-block
copying, and less overhead for copying in some cases. The "moved-from"
source is left in an empty but valid state. A test file is added to test
the move constructor.
Diffstat (limited to 'source/blender/blenkernel/CMakeLists.txt')
-rw-r--r-- | source/blender/blenkernel/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/CMakeLists.txt b/source/blender/blenkernel/CMakeLists.txt index 3828d442f58..bd632380ada 100644 --- a/source/blender/blenkernel/CMakeLists.txt +++ b/source/blender/blenkernel/CMakeLists.txt @@ -807,6 +807,7 @@ if(WITH_GTESTS) intern/asset_test.cc intern/bpath_test.cc intern/cryptomatte_test.cc + intern/curves_geometry_test.cc intern/fcurve_test.cc intern/idprop_serialize_test.cc intern/image_partial_update_test.cc |