From 1190b452634170f248e36c807feb76d0c005a74e Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 22 Feb 2007 14:37:30 +0000 Subject: Adding a new way of dealing with library data in blender, Blender.Base Has a number of advantages over the existing method, described here. http://wiki.blender.org/index.php/User:Ideasman42#Post_2.43_Update_to_the_Python_API Only missing functionality is the ability to add new data through Base.scenes.new('name'), where scenes could be meshes, texts etc. Other changes are minor, Scene.h, bad var name in definition. Text.c/h - moved the Python Struct into the header file, added BPy_Text_Check() --- source/blender/python/api2_2x/Scene.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/python/api2_2x/Scene.h') diff --git a/source/blender/python/api2_2x/Scene.h b/source/blender/python/api2_2x/Scene.h index 4d294700c63..4d45d849c6d 100644 --- a/source/blender/python/api2_2x/Scene.h +++ b/source/blender/python/api2_2x/Scene.h @@ -64,7 +64,7 @@ typedef struct { PyObject *Scene_Init( void ); -PyObject *Scene_CreatePyObject( Scene * cam ); +PyObject *Scene_CreatePyObject( Scene * scene ); /*Scene *Scene_FromPyObject( PyObject * pyobj );*/ /* not used yet */ int Scene_CheckPyObject( PyObject * pyobj ); Scene *GetSceneByName( char *name ); -- cgit v1.2.3