blender/tests/files/io_tests/obj/reference/split_options.txt
Hans Goudey 1f30701f97 Tests: Order independent attribute comparion in IO tests
The order of attributes is mostly implementation defined at the moment,
based on the order of CustomDataType definitions and the order that each
CustomData struct happens to be referenced in. For #122398 this order
may change to creation order which is sometimes different. To avoid
testing the order of attributes in the list, sort the names first in
the mesh text representations, and update the references accordingly.

Pull Request: https://projects.blender.org/blender/blender/pulls/152728
2026-01-12 19:25:11 +01:00

41 lines
1.1 KiB
Text

==== Meshes: 2
- Mesh 'Box' vtx:8 face:6 loop:24 edge:12
- 0 4 6 2 3 ... 3 5 4 0 1
- 0/2 0/4 4/6 2/6 3/7 ... 5/7 4/5 1/5 1/3 0/1
- attr 'material_index' INT FACE
- 0 0 0 0 0 0
- attr 'position' FLOAT_VECTOR POINT
- (1.000, 1.000, -1.000)
- (1.000, -1.000, -1.000)
- (1.000, 1.000, 1.000)
...
- (-1.000, -1.000, -1.000)
- (-1.000, 1.000, 1.000)
- (-1.000, -1.000, 1.000)
- attr 'sharp_face' BOOLEAN FACE
- 1 1 1 1 1 1
- Mesh 'Pyramid' vtx:5 face:5 loop:16 edge:8
- 0 1 2 3 0 ... 3 4 3 0 4
- 0/3 0/1 1/2 2/3 0/4 1/4 2/4 3/4
- attr 'material_index' INT FACE
- 0 0 0 0 0
- attr 'position' FLOAT_VECTOR POINT
- (3.000, 1.000, -1.000)
- (5.000, 1.000, -1.000)
- (5.000, -1.000, -1.000)
- (3.000, -1.000, -1.000)
- (4.000, 0.000, 2.000)
- attr 'sharp_face' BOOLEAN FACE
- 1 1 1 1 1
==== Objects: 2
- Obj 'Box' MESH data:'Box'
- pos 0.000, 0.000, 0.000
- rot 1.571, 0.000, 0.000 (XYZ)
- scl 1.000, 1.000, 1.000
- Obj 'Pyramid' MESH data:'Pyramid'
- pos 0.000, 0.000, 0.000
- rot 1.571, 0.000, 0.000 (XYZ)
- scl 1.000, 1.000, 1.000