Skip to content

Commit

Permalink
Merge pull request #1168 from Kaapp/fix-mline-crash-by-passing-float
Browse files Browse the repository at this point in the history
Fix mline.py crash due to passing int instead of float
  • Loading branch information
mozman authored Sep 18, 2024
2 parents 4f5e04a + 0993c06 commit 34583af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ezdxf/render/mline.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def filling() -> Hatch:
attribs = _dxfattribs(mline)
attribs["color"] = style.dxf.fill_color
attribs["elevation"] = Vec3(ocs.from_wcs(bottom_border[0])).replace(
x=0, y=0
x=0.0, y=0.0
)
attribs["extrusion"] = mline.dxf.extrusion
hatch = cast("Hatch", factory.new("HATCH", dxfattribs=attribs, doc=doc))
Expand Down

0 comments on commit 34583af

Please sign in to comment.