Skip to content

Commit

Permalink
Fix HATCH entity
Browse files Browse the repository at this point in the history
Fixes GH#1047

Tested on example in issue.
  • Loading branch information
michal-josef-spacek authored and rurban committed Dec 1, 2024
1 parent 51dc235 commit b8fd725
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/dwg.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b8fd725

Please sign in to comment.