removed .parent by mistake in Object.c

made some of the importers raise a nice error if a file disnt exist rather then a python error. will eventually apply to all.
This commit is contained in:
2006-09-26 04:39:46 +00:00
parent 6587c3c6ba
commit e6251f6ae7
6 changed files with 32 additions and 0 deletions

View File

@@ -4714,6 +4714,10 @@ static PyGetSetDef BPy_Object_getseters[] = {
(getter)Object_getSelected, (setter)Object_setSelect,
"The object's selection state",
NULL},
{"parent",
(getter)Object_getParent, (setter)NULL,
"The object's parent object (if parented)",
NULL},
{"parentbonename",
(getter)Object_getParentBoneName, (setter)NULL,
"Returns the object's parent object's sub name",