some minor webplugin changes, new loading .blend, upgraded version to 2.42, enabled PhysicsConstraints module within sandbox.

This commit is contained in:
2006-07-06 07:58:07 +00:00
parent 68fc1ce02c
commit 6b90f20e87
3 changed files with 11 additions and 6 deletions

View File

@@ -830,7 +830,7 @@ PyObject *KXpy_import(PyObject *self, PyObject *args)
/* quick hack for GamePython modules
TODO: register builtin modules properly by ExtendInittab */
if (!strcmp(name, "GameLogic") || !strcmp(name, "GameKeys") ||
if (!strcmp(name, "GameLogic") || !strcmp(name, "GameKeys") || !strcmp(name, "PhysicsConstraints") ||
!strcmp(name, "Rasterizer")) {
return PyImport_ImportModuleEx(name, globals, locals, fromlist);
}