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/Text.c
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/Text.c')
-rw-r--r--source/blender/python/api2_2x/Text.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/python/api2_2x/Text.c b/source/blender/python/api2_2x/Text.c
index 90a14e90976..8e65e1a775c 100644
--- a/source/blender/python/api2_2x/Text.c
+++ b/source/blender/python/api2_2x/Text.c
@@ -90,14 +90,6 @@ struct PyMethodDef M_Text_methods[] = {
{NULL, NULL, 0, NULL}
};
-/*****************************************************************************/
-/* Python BPy_Text structure definition: */
-/*****************************************************************************/
-typedef struct {
- PyObject_HEAD Text * text;
-
-} BPy_Text;
-
static int Text_IsLinked( BPy_Text * self );
/*****************************************************************************/