Add the ability to move CurvesGeometry without copying its attributes and data.
The source is left in an empty but valid state. A test file is added to test the move
constructor.
Details
Details
Diff Detail
Diff Detail
Event Timeline
| source/blender/blenkernel/intern/curves_geometry.cc | ||
|---|---|---|
| 91 | we just do a shallow swap of the entire CurvesGeometry instead of swapping the individual elements? | |
| source/blender/blenkernel/intern/curves_geometry.cc | ||
|---|---|---|
| 90 | This calls the move operations internally, so it results in a stack overflow (P2830). | |
| source/blender/blenkernel/intern/curves_geometry_test.cc | ||
| 40 | I'm 95% sure that you didn't run this test yet, because it's not crashing for you. The reason might be that that CurvesGeometryTest is missing an s in the end. | |
Comment Actions
- Revert previous change, rename tests
I think it's simpler to just swap individual elements right now.