Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2007-02-22 17:37:30 +0300
committerCampbell Barton <ideasman42@gmail.com>2007-02-22 17:37:30 +0300
commit1190b452634170f248e36c807feb76d0c005a74e (patch)
tree1fbe6ea73c1831ddd917e2fa6b13d3319eda3bca /source/blender/python/api2_2x/Scene.h
parentdef30c5ff927cf1e975f251897fc2464c3226073 (diff)
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()
Diffstat (limited to 'source/blender/python/api2_2x/Scene.h')
-rw-r--r--source/blender/python/api2_2x/Scene.h2
1 files changed, 1 insertions, 1 deletions
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 );