From b8fd7252b6d4cfd78333346fcfd5c2eed2f748ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Josef=20=C5=A0pa=C4=8Dek?= Date: Sat, 30 Nov 2024 19:21:04 +0100 Subject: [PATCH] Fix HATCH entity Fixes GH#1047 Tested on example in issue. --- src/dwg.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/dwg.spec b/src/dwg.spec index b54fdc5bc..3b21b5f58 100644 --- a/src/dwg.spec +++ b/src/dwg.spec @@ -5134,11 +5134,13 @@ DWG_ENTITY (HATCH) END_REPEAT_BLOCK END_REPEAT (control_points); #undef control_points - SINCE (R_2013) // r2014 really + SINCE (R_2010) { #define seg segx[rcount2] SUB_FIELD_BL (seg, num_fitpts, 97); FIELD_2RD_VECTOR (seg.fitpts, seg.num_fitpts, 11); + SUB_FIELD_2RD (seg, start_tangent, 12); + SUB_FIELD_2RD (seg, end_tangent, 13); } break; default: