A large collection of fixes from Ken Hughes including:
- corrections to constants - parameter type checking - correct use of METH_VARARGS vs METH_NOARGS - return objects instead of strings in Scene.getChildren() as per doc. - correct logical operators Thanks, Ken!
This commit is contained in:
@@ -323,7 +323,7 @@ automatic when the script finishes."},
|
||||
"Returns the object's parent object"},
|
||||
{"getParentBoneName", ( PyCFunction ) Object_getParentBoneName, METH_NOARGS,
|
||||
"Returns None, or the 'sub-name' of the parent (eg. Bone name)"},
|
||||
{"getSize", ( PyCFunction ) Object_getSize, METH_VARARGS,
|
||||
{"getSize", ( PyCFunction ) Object_getSize, METH_NOARGS,
|
||||
"Returns the object's size (x, y, z)"},
|
||||
{"getTimeOffset", ( PyCFunction ) Object_getTimeOffset, METH_NOARGS,
|
||||
"Returns the object's time offset"},
|
||||
|
||||
Reference in New Issue
Block a user