diff options
author | Campbell Barton <ideasman42@gmail.com> | 2006-09-26 08:39:46 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2006-09-26 08:39:46 +0400 |
commit | e6251f6ae772e8a8b92112fc10edd7695b205e31 (patch) | |
tree | bee482923f4c752644f9810d664368752df35f75 /source | |
parent | 6587c3c6baffcfde952dd4194f366361f61b5ca6 (diff) |
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.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/python/api2_2x/Object.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/Object.c b/source/blender/python/api2_2x/Object.c index 2859352210d..b4f784c67b5 100644 --- a/source/blender/python/api2_2x/Object.c +++ b/source/blender/python/api2_2x/Object.c @@ -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", |