[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [10832] trunk/blender/source/blender/ python/api2_2x: scene.camera was missing from docs
Campbell Barton
cbarton at metavr.com
Thu May 31 15:48:17 CEST 2007
Revision: 10832
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=10832
Author: campbellbarton
Date: 2007-05-31 15:48:16 +0200 (Thu, 31 May 2007)
Log Message:
-----------
scene.camera was missing from docs
bad bad mistake- key wasnt returning IPO's
Modified Paths:
--------------
trunk/blender/source/blender/python/api2_2x/Key.c
trunk/blender/source/blender/python/api2_2x/doc/Scene.py
Modified: trunk/blender/source/blender/python/api2_2x/Key.c
===================================================================
--- trunk/blender/source/blender/python/api2_2x/Key.c 2007-05-31 12:03:55 UTC (rev 10831)
+++ trunk/blender/source/blender/python/api2_2x/Key.c 2007-05-31 13:48:16 UTC (rev 10832)
@@ -315,7 +315,7 @@
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;
}
Modified: trunk/blender/source/blender/python/api2_2x/doc/Scene.py
===================================================================
--- trunk/blender/source/blender/python/api2_2x/doc/Scene.py 2007-05-31 12:03:55 UTC (rev 10831)
+++ trunk/blender/source/blender/python/api2_2x/doc/Scene.py 2007-05-31 13:48:16 UTC (rev 10832)
@@ -107,6 +107,8 @@
@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
More information about the Bf-blender-cvs
mailing list