diff options
Diffstat (limited to 'source/gameengine')
-rw-r--r-- | source/gameengine/Ketsji/KX_PythonInit.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/gameengine/Ketsji/KX_PythonInit.cpp b/source/gameengine/Ketsji/KX_PythonInit.cpp index 58996f7b86f..7845c113643 100644 --- a/source/gameengine/Ketsji/KX_PythonInit.cpp +++ b/source/gameengine/Ketsji/KX_PythonInit.cpp @@ -2122,6 +2122,7 @@ void setupGamePython(KX_KetsjiEngine* ketsjiengine, KX_Scene *startscene, Main * "'render':__import__('Rasterizer'), " "'events':__import__('GameKeys'), " "'constraints':__import__('PhysicsConstraints'), " + "'physics':__import__('PhysicsConstraints')," "'types':__import__('GameTypes'), " "'texture':__import__('VideoTexture')});" /* so we can do 'import bge.foo as bar' */ @@ -2130,6 +2131,7 @@ void setupGamePython(KX_KetsjiEngine* ketsjiengine, KX_Scene *startscene, Main * "'bge.render':bge.render, " "'bge.events':bge.events, " "'bge.constraints':bge.constraints, " + "'bge.physics':bge.physics," "'bge.types':bge.types, " "'bge.texture':bge.texture})" ); |