diff options
author | Willian Padovani Germano <wpgermano@gmail.com> | 2003-05-13 05:54:28 +0400 |
---|---|---|
committer | Willian Padovani Germano <wpgermano@gmail.com> | 2003-05-13 05:54:28 +0400 |
commit | b9f6d66328b8b96d4f1fe29f761a99fbe531c4de (patch) | |
tree | f20e0d83b867bef9d5aa0009802e1cc486f0c5dd /source/blender/python/api2_2x/BGL.h | |
parent | eca049b177e08a0b8a182cc373e2ae225f7f8a11 (diff) |
* Added 3 missing functions, 2 of them called by blender/src/drawtext.c:
Callbacks registered with Draw.Register in Python are called now.
That should fix submodule Blender.Draw.
* Added a few other missing functions to BPY_interface.c
* Finished implementing Get() function for Camera, Lamp, Image and Text:
Both the .Get(name) and .Get() cases are handled now.
* Added function Blender.ReleaseGlobalDict():
This function should give script writers control over whether the
global Python Interpreter Dict should be cleared after the script is
run (default is to clear). This is a test.
Diffstat (limited to 'source/blender/python/api2_2x/BGL.h')
-rw-r--r-- | source/blender/python/api2_2x/BGL.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/BGL.h b/source/blender/python/api2_2x/BGL.h index 2da80b4555c..c63cacb2ec0 100644 --- a/source/blender/python/api2_2x/BGL.h +++ b/source/blender/python/api2_2x/BGL.h @@ -151,7 +151,8 @@ PyTypeObject Buffer_Type = { &Buffer_SeqMethods, /*tp_as_sequence*/ }; -#ifndef __APPLE__ +/* #ifndef __APPLE__ */ + /*@ By golly George! It looks like fancy pants macro time!!! */ /* @@ -419,6 +420,6 @@ static PyObject *Method_##funcname (PyObject *self, PyObject *args) {\ ret_ret_##ret; \ } -#endif +/* #endif */ PyObject *M_BGL_Init(void); |