diff options
author | Willian Padovani Germano <wpgermano@gmail.com> | 2003-06-09 08:35:24 +0400 |
---|---|---|
committer | Willian Padovani Germano <wpgermano@gmail.com> | 2003-06-09 08:35:24 +0400 |
commit | c7c5fd145134f454d7fa8042eac4be53da9e7370 (patch) | |
tree | 0b651d8c142bc8cf0681198feb4a2169c9b89a05 /source/blender/python/api2_2x/Scene.c | |
parent | 864e5640f701684c416812fa6a05ccff7a64a73f (diff) |
small update to getAttr method
Diffstat (limited to 'source/blender/python/api2_2x/Scene.c')
-rw-r--r-- | source/blender/python/api2_2x/Scene.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/python/api2_2x/Scene.c b/source/blender/python/api2_2x/Scene.c index cc4536cea14..273a512c232 100644 --- a/source/blender/python/api2_2x/Scene.c +++ b/source/blender/python/api2_2x/Scene.c @@ -908,9 +908,7 @@ static PyObject *Scene_GetAttr (BPy_Scene *self, char *name) attr = PyString_FromString(self->scene->id.name+2); else if (strcmp(name, "__members__") == 0) { - attr = Py_BuildValue("[s,s,s,s,s,s,s,s,s]", - "name", "type", "mode", "lens", "clipStart", - "clipEnd", "drawSize", "Types", "Modes"); + attr = Py_BuildValue("[s]", "name"); } if (!attr) |