From 410d4f9f6acb56cf84f1117dd39a595bcd551f15 Mon Sep 17 00:00:00 2001 From: Roy-043 Date: Wed, 25 Oct 2023 21:53:54 +0200 Subject: [PATCH] Part: Fix mistake in Part.getShape docstring For confirmation see: https://github.com/realthunder/FreeCAD/blob/cad29253a493084a1c52d09fe164d4d91428b265/src/Mod/Draft/draftguitools/gui_selectplane.py#L198 --- src/Mod/Part/App/AppPartPy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Part/App/AppPartPy.cpp b/src/Mod/Part/App/AppPartPy.cpp index 293893862b..d4ae32a2b8 100644 --- a/src/Mod/Part/App/AppPartPy.cpp +++ b/src/Mod/Part/App/AppPartPy.cpp @@ -607,7 +607,7 @@ public: "* transform: if False, then skip obj's transformation. Use this if mat already include obj's\n" " transformation matrix\n" "* retType: 0: return TopoShape,\n" - " 1: return (shape,subObj,mat), where subObj is the object referenced in 'subname',\n" + " 1: return (shape,mat,subObj), where subObj is the object referenced in 'subname',\n" " and 'mat' is the accumulated transformation matrix of that sub-object.\n" " 2: same as 1, but make sure 'subObj' is resolved if it is a link.\n" "* refine: refine the returned shape"