diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-05-31 17:48:16 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-05-31 17:48:16 +0400 |
commit | 0ea46073085676ed4dc5c0d0e18420205c80c86b (patch) | |
tree | b96737b45da6ddf914af6bafef9dc461fa590437 /source | |
parent | 2d8dd194ccd2aec3b27f145c488354fbc81b41fa (diff) |
scene.camera was missing from docs
bad bad mistake- key wasnt returning IPO's
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/python/api2_2x/Key.c | 2 | ||||
-rw-r--r-- | source/blender/python/api2_2x/doc/Scene.py | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Key.c b/source/blender/python/api2_2x/Key.c index 49fd55ed5c2..4e5d4278fd3 100644 --- a/source/blender/python/api2_2x/Key.c +++ b/source/blender/python/api2_2x/Key.c @@ -315,7 +315,7 @@ static PyObject *Key_repr( BPy_Key * self ) static PyObject *Key_getIpo( BPy_Key * self ) { if (self->key->ipo) - Ipo_CreatePyObject( self->key->ipo ); + return Ipo_CreatePyObject( self->key->ipo ); Py_RETURN_NONE; } diff --git a/source/blender/python/api2_2x/doc/Scene.py b/source/blender/python/api2_2x/doc/Scene.py index fb852f2aa49..93d3e7d830e 100644 --- a/source/blender/python/api2_2x/doc/Scene.py +++ b/source/blender/python/api2_2x/doc/Scene.py @@ -107,6 +107,8 @@ class Scene: @ivar objects: The scene's objects. The sequence supports the methods .link(ob), .unlink(ob), and .new(obdata), and can be iterated over. @type cursor: Vector (wrapped) @ivar cursor: the 3d cursor location for this scene. + @type camera: Camera or None + @ivar camera: The active camera for this scene (can be set) @type world: World or None @ivar world: The world that this scene uses (if any) @type timeline: Timeline |