some minor webplugin changes, new loading .blend, upgraded version to 2.42, enabled PhysicsConstraints module within sandbox.
This commit is contained in:
Binary file not shown.
@@ -643,18 +643,23 @@ bool GPG_Application::startEngine(void)
|
||||
m_audiodevice,
|
||||
startscenename);
|
||||
|
||||
|
||||
// some python things
|
||||
PyObject* m_dictionaryobject = initGamePlayerPythonScripting("Ketsji", psl_Lowest);
|
||||
m_ketsjiengine->SetPythonDictionary(m_dictionaryobject);
|
||||
PyObject* dictionaryobject = initGamePythonScripting("Ketsji", psl_Lowest);
|
||||
m_ketsjiengine->SetPythonDictionary(dictionaryobject);
|
||||
initRasterizer(m_rasterizer, m_canvas);
|
||||
initGameLogic(startscene);
|
||||
PyObject *gameLogic = initGameLogic(startscene);
|
||||
initGameKeys();
|
||||
initPythonConstraintBinding();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
m_sceneconverter->ConvertScene(
|
||||
startscenename,
|
||||
startscene,
|
||||
m_dictionaryobject,
|
||||
dictionaryobject,
|
||||
m_keyboard,
|
||||
m_rendertools,
|
||||
m_canvas);
|
||||
|
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user