scene.camera was missing from docs

bad bad mistake- key wasnt returning IPO's
This commit is contained in:
Campbell Barton
2007-05-31 13:48:16 +00:00
parent 2d8dd194cc
commit 0ea4607308
2 changed files with 3 additions and 1 deletions

View File

@@ -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;
}

View File

@@ -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