Skip to content

Commit

Permalink
Merge pull request #2 from sensat/patch-vec3-crash-condition
Browse files Browse the repository at this point in the history
Patch crash in mline.py when getting elevation using vec3
  • Loading branch information
Kaapp authored Sep 18, 2024
2 parents 8b35d87 + cb9610b commit 95f4890
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 95f4890

Please sign in to comment.