From d77d672cfb3cc57a92b5549ec7386dbbb16bfd86 Mon Sep 17 00:00:00 2001 From: wmayer Date: Fri, 27 Dec 2013 11:07:16 +0100 Subject: [PATCH] + Fix docstring for addSelection --- src/Gui/Selection.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Gui/Selection.cpp b/src/Gui/Selection.cpp index 91f8cea93..a8d078b42 100644 --- a/src/Gui/Selection.cpp +++ b/src/Gui/Selection.cpp @@ -945,7 +945,8 @@ void SelectionSingleton::removeObject(App::DocumentObject *f) // SelectionSingleton Methods // Methods structure PyMethodDef SelectionSingleton::Methods[] = { {"addSelection", (PyCFunction) SelectionSingleton::sAddSelection, 1, - "addSelection(object) -- Add an object to the selection"}, + "addSelection(object,[string,float,float,float]) -- Add an object to the selection\n" + "where string is the sub-element name and the three floats represent a 3d point"}, {"removeSelection", (PyCFunction) SelectionSingleton::sRemoveSelection, 1, "removeSelection(object) -- Remove an object from the selection"}, {"clearSelection" , (PyCFunction) SelectionSingleton::sClearSelection, 1,