Files
IfcOpenShell/src
Petru Conduraru c2b168b45b Bonsai: deterministic annotation order in generated drawing SVGs (#6608)
generate_annotation built the annotation list from a set union and sorted it by
ZIndex and TEXT-ness only. Annotations that tied on that key kept set iteration
order, which follows entity hash (step id plus the process memory address), so
the order of tied annotations (for example a label and its background fill)
shuffled between Blender restarts and flipped their draw order.

Add the stable IFC step id as a final tiebreaker so the order is total and
session independent. Behavior preserving, no z-layer semantics changed.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
(cherry picked from commit d30286225c)
2026-07-25 23:15:23 +10:00
..
2026-07-22 19:01:49 +05:00
2026-07-10 17:05:35 +02:00
2026-07-09 22:01:21 +02:00
2026-07-09 22:01:21 +02:00