Draft: fix mismatch of argument in get_dxf function

The name of the argument, `projection`, in the old function
is incorrect; it should be `direction`, which was the original
argument's name when this method was split into its own module
(c79f890).
This commit is contained in:
vocx-fc
2020-10-08 11:27:32 -05:00
committed by Yorik van Havre
parent f799717f4d
commit f54761510c

View File

@@ -134,10 +134,10 @@ def get_dxf(obj, direction=None):
def getDXF(obj,
projection=None):
direction=None):
"""Return DXF string of the object. DEPRECATED. Use 'get_dxf'."""
utils.use_instead("get_dxf")
return get_dxf(obj,
projection=projection)
direction=direction)
## @}