- 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.
This commit is contained in:
2003-07-01 05:19:14 +00:00
parent 14b4ed4e8d
commit fad2aeb3fb
7 changed files with 138 additions and 112 deletions

View File

@@ -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)
{