This is a basic armature deformation test for #141535 using Lattices instead of Mesh as the target object type. Lattice deformation was briefly broken, which is caught by this test. The test adds the general-purpose `unit_test_compare` function to lattice object data. It only compares lattice point counts and positions for now, more data can be added later if necessary. The `MeshTest` class did not support lattice object types yet, so needed some changes. The Curves case was already supported, but only by full conversion to mesh data, without actually using the `unit_test_compare` function specific for curves geometry. This is unchanged, because applying constructive modifiers on curves does not work. If it were not for this limitation the test could do actual curves comparisons now. For lattice support the `MeshTest` class comparison function has been generalized to all supported object data types. It runs the appropriate `unit_test_compare` api function and validation where supported (only meshes at this point). Pull Request: https://projects.blender.org/blender/blender/pulls/141546
4 lines
133 B
Plaintext
4 lines
133 B
Plaintext
version https://git-lfs.github.com/spec/v1
|
|
oid sha256:f6efef2004ac186610b7fd615e9fb4c56afc144a774d10beeafa9d051ace280d
|
|
size 11622132
|