From cfb314f2792c37cc0f7de1bf17d50057e3f4e068 Mon Sep 17 00:00:00 2001 From: vocx-fc Date: Thu, 8 Oct 2020 11:27:32 -0500 Subject: [PATCH] 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 (6c00fcf). --- src/Mod/Draft/draftfunctions/dxf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/Draft/draftfunctions/dxf.py b/src/Mod/Draft/draftfunctions/dxf.py index 748a802b81..df009377fa 100644 --- a/src/Mod/Draft/draftfunctions/dxf.py +++ b/src/Mod/Draft/draftfunctions/dxf.py @@ -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) ## @}