- New module + doc: Blender.Library:
  It's like File->Append, loads datablocks from .blend files.
- small updates to fix warnings and accomodate for the new module, in readfile.[ch]
- New Blender.sys module function: time, a wrapper of the PIL get time function.
- Updated original makefile and scons builds.
This commit is contained in:
2004-04-24 20:04:37 +00:00
parent e5e4c0fc4f
commit 382297b687
13 changed files with 696 additions and 162 deletions

View File

@@ -30,6 +30,7 @@
*/
#include "BKE_utildefines.h"
#include "PIL_time.h"
#include "Sys.h"
@@ -168,3 +169,10 @@ static PyObject *M_sys_splitext (PyObject *self, PyObject *args)
return Py_BuildValue("ss", path, ext);
}
static PyObject *M_sys_time (PyObject *self)
{
double t = PIL_check_seconds_timer();
return Py_BuildValue("d", t);
}