+ Fix docstring for addSelection
This commit is contained in:
parent
7ceef577a2
commit
d77d672cfb
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user