diff options
author | Willian Padovani Germano <wpgermano@gmail.com> | 2003-07-01 09:19:14 +0400 |
---|---|---|
committer | Willian Padovani Germano <wpgermano@gmail.com> | 2003-07-01 09:19:14 +0400 |
commit | fad2aeb3fb674ed9fe9d5e87622cc1f6b7d4ecb1 (patch) | |
tree | 56567faf377aea8043fd2abe78cfc7a29d44acd4 /source/blender/python/api2_2x/Sys.c | |
parent | 14b4ed4e8dd15ebbc05fa3947e983d5e6bbc7fc8 (diff) |
- small fix in Sys.c to compile on Windows:
Thanks Florian Eggenberger for telling us about it. And Greg McBride for
pointing a possible fix.
- Draw.Text and Draw.GetStringWidth updated:
Now they accept an optional second parameter to set font size and Draw.Text
returns the drawn string width.
- Partially fixed the update() and PutRaw() bugs in NMesh:
A total fix will require bigger changes, but what was done (unless buggy)
takes care of the common cases.
Diffstat (limited to 'source/blender/python/api2_2x/Sys.c')
-rw-r--r-- | source/blender/python/api2_2x/Sys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Sys.c b/source/blender/python/api2_2x/Sys.c index e093b51f471..4528d41933a 100644 --- a/source/blender/python/api2_2x/Sys.c +++ b/source/blender/python/api2_2x/Sys.c @@ -31,7 +31,7 @@ #include "Sys.h" -static PyObject *g_sysmodule = Py_None; /* pointer to Blender.sys module */ +static PyObject *g_sysmodule = NULL; /* pointer to Blender.sys module */ PyObject *sys_Init (void) { |