blender/tests/files/io_tests/obj/reference
Campbell Barton 490e0b283c Fix #163256: error where filling curves with holes only output a hole
Filling relied on original face ids to decide which
faces must stay valid, these are only set for CCW faces,
so every edge inside a CW face was dissolved.
The "Fill Curve" node then output only the holes.

Resolve by using the hole status for output types with holes,
as the even-odd & non-zero rules accept either orientation.

Note that this changes how winding multiple times is interpreted,
each lap flips the even-odd "fill" state.
So 1x winding around a polygon is filled, 2x isn't 3x is ... and so on
(matching SVG/PostScript behavior for the even-odd method).

Remove `USE_FACE_ORDERED_EDGE_DEDUPE` since it doesn't define expected
behavior for filling and was only added as a stress test.
An OBJ face that walks its boundary twice no longer imports as a face,
update the test data accordingly.

Technically a regression in [0], although it only worked by accident:
the face-id flood used to escape the face boundary and tag the whole CDT
(the slowdown [0] resolved), so no interior edges were dissolved.
Limiting the flood-fill exposed that `add_face_ids` skips CW faces,
leaving the input face winding to decide which faces are kept,
even though even-odd filling should ignore the winding.

[0]: ef99d1d8b3

Ref !163295
2026-09-10 03:12:14 +00:00
..
all_curves.txt Curves: Enhance tesselation of NURBS with corners 2025-06-12 16:22:21 +02:00
all_curves_as_nurbs.txt IO: OBJ improvements for NURBS curves 2025-08-01 06:37:28 +02:00
all_objects.txt Tests: Order independent attribute comparion in IO tests 2026-01-12 19:25:11 +01:00
all_objects_mat_groups.txt Tests: Order independent attribute comparion in IO tests 2026-01-12 19:25:11 +01:00
all_quads.txt Tests: Order independent attribute comparion in IO tests 2026-01-12 19:25:11 +01:00
all_tris.txt Tests: Order independent attribute comparion in IO tests 2026-01-12 19:25:11 +01:00
cube.txt Tests: Order independent attribute comparion in IO tests 2026-01-12 19:25:11 +01:00
cube4m_clamp_2.txt Tests: Order independent attribute comparion in IO tests 2026-01-12 19:25:11 +01:00
cube4m_clamp_05.txt Tests: Order independent attribute comparion in IO tests 2026-01-12 19:25:11 +01:00
cube_all_data_triangulated.txt Tests: Order independent attribute comparion in IO tests 2026-01-12 19:25:11 +01:00
cube_loose_edges_verts.txt Tests: Order independent attribute comparion in IO tests 2026-01-12 19:25:11 +01:00
cube_normal_edit.txt Tests: Order independent attribute comparion in IO tests 2026-01-12 19:25:11 +01:00
cube_o_after_verts.txt Tests: Order independent attribute comparion in IO tests 2026-01-12 19:25:11 +01:00
cube_vertex_groups.txt Tests: Order independent attribute comparion in IO tests 2026-01-12 19:25:11 +01:00
cubes_clamp_15.txt Tests: Order independent attribute comparion in IO tests 2026-01-12 19:25:11 +01:00
cubes_positioned.txt Tests: Order independent attribute comparion in IO tests 2026-01-12 19:25:11 +01:00
cubes_vertex_colors.txt Tests: Order independent attribute comparion in IO tests 2026-01-12 19:25:11 +01:00
cubes_vertex_colors_mrgb.txt Tests: Order independent attribute comparion in IO tests 2026-01-12 19:25:11 +01:00
cubes_with_textures.txt Tests: Order independent attribute comparion in IO tests 2026-01-12 19:25:11 +01:00
cubes_with_textures_rel.txt Tests: Order independent attribute comparion in IO tests 2026-01-12 19:25:11 +01:00
edges.txt
faces_invalid_or_with_holes.txt Fix #163256: error where filling curves with holes only output a hole 2026-09-10 03:12:14 +00:00
fgons.txt Tests: Order independent attribute comparion in IO tests 2026-01-12 19:25:11 +01:00
invalid_faces.txt Tests: Order independent attribute comparion in IO tests 2026-01-12 19:25:11 +01:00
invalid_indices.txt Tests: Order independent attribute comparion in IO tests 2026-01-12 19:25:11 +01:00
invalid_syntax.txt Tests: Order independent attribute comparion in IO tests 2026-01-12 19:25:11 +01:00
invalid_vertex_group_index.txt I/O: Harden geometry import for invalid data 2026-05-13 14:24:11 +02:00
makehuman.txt Tests: Order independent attribute comparion in IO tests 2026-01-12 19:25:11 +01:00
materials.txt Tests: Order independent attribute comparion in IO tests 2026-01-12 19:25:11 +01:00
materials_pbr.txt Tests: Order independent attribute comparion in IO tests 2026-01-12 19:25:11 +01:00
materials_without_pbr.txt Tests: Order independent attribute comparion in IO tests 2026-01-12 19:25:11 +01:00
non_uniform_scale.txt Tests: Order independent attribute comparion in IO tests 2026-01-12 19:25:11 +01:00
nurbs.txt IO: OBJ improvements for NURBS curves 2025-08-01 06:37:28 +02:00
nurbs_curves.txt IO: OBJ improvements for NURBS curves 2025-08-01 06:37:28 +02:00
nurbs_cyclic.txt
nurbs_endpoint.txt
nurbs_invalid_indices.txt I/O: Harden geometry import for invalid data 2026-05-13 14:24:11 +02:00
nurbs_manual.txt
nurbs_mesh.txt
polylines.txt
rhino_curve_arc_bezier_deg2.txt IO: OBJ improvements for NURBS curves 2025-08-01 06:37:28 +02:00
rhino_curve_bezier_deg3_cyclic.txt IO: OBJ improvements for NURBS curves 2025-08-01 06:37:28 +02:00
rhino_curve_bezier_deg4_rat.txt IO: OBJ improvements for NURBS curves 2025-08-01 06:37:28 +02:00
rhino_curve_circle_bezier_deg2_cyclic.txt IO: OBJ improvements for NURBS curves 2025-08-01 06:37:28 +02:00
rhino_curve_uniform_cyclic_deg3.txt IO: OBJ improvements for NURBS curves 2025-08-01 06:37:28 +02:00
rhino_curve_uniform_cyclic_deg7.txt IO: OBJ improvements for NURBS curves 2025-08-01 06:37:28 +02:00
split_options.txt Tests: Order independent attribute comparion in IO tests 2026-01-12 19:25:11 +01:00
split_options_by_group.txt Tests: Order independent attribute comparion in IO tests 2026-01-12 19:25:11 +01:00
split_options_by_object_and_group.txt Tests: Order independent attribute comparion in IO tests 2026-01-12 19:25:11 +01:00
split_options_none.txt Tests: Order independent attribute comparion in IO tests 2026-01-12 19:25:11 +01:00
suzanne_all_data.txt Tests: Order independent attribute comparion in IO tests 2026-01-12 19:25:11 +01:00
vertex_colors_non_contiguous.txt Tests: Order independent attribute comparion in IO tests 2026-01-12 19:25:11 +01:00
vertices.txt