some minor webplugin changes, new loading .blend, upgraded version to 2.42, enabled...
[blender.git] / source / gameengine / Ketsji / KX_PythonInit.cpp
index 65751a995d979a77356b07a7ea2a4faa81dd57b1..7a937d5e3492088f97f5c449e7bb497a79681887 100644 (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);
        }