* 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.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user