Misc. typo fixes
Found via `codespell`
This commit is contained in:
@@ -766,7 +766,7 @@ bool SelectionSingleton::addSelection(const char* pDocName, const char* pObjectN
|
||||
return true;
|
||||
}
|
||||
else {
|
||||
// neither an existing nor active document available
|
||||
// neither an existing nor active document available
|
||||
// this can often happen when importing .iv files
|
||||
Base::Console().Error("Cannot add to selection: no document '%s' found.\n", pDocName);
|
||||
return false;
|
||||
@@ -1039,7 +1039,7 @@ PyMethodDef SelectionSingleton::Methods[] = {
|
||||
"second argumeht defines the document name. If no document name is given the\n"
|
||||
"currently active document is used"},
|
||||
{"getSelection", (PyCFunction) SelectionSingleton::sGetSelection, METH_VARARGS,
|
||||
"getSelection([string]) -- Return a list of selected objets\n"
|
||||
"getSelection([string]) -- Return a list of selected objects\n"
|
||||
"Return a list of selected objects for a given document name. If no\n"
|
||||
"document name is given the selection for the active document is returned."},
|
||||
{"getCompleteSelection", (PyCFunction) SelectionSingleton::sGetCompleteSelection, METH_VARARGS,
|
||||
|
||||
Reference in New Issue
Block a user