Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2009-06-13 21:25:54 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-06-13 21:25:54 +0400
commit611e2f484c1d3c1c07abbe289a23623e714c700f (patch)
tree3ff7159023ff556bbfc0803c9e0c4407a67a35b8 /source/gameengine/Ketsji/KX_PythonInit.cpp
parent3a9396c47dcc1083baf5bcbb93556f65b84ba5a0 (diff)
GameEngine WIP,
* pressing P starts the BGE in the 3D view * redraw window clipping isnt right * BGE python api works in py3k (without __import__ override or Mathutils, BGL, Geometry) * no events yet (so there is no way to exit)
Diffstat (limited to 'source/gameengine/Ketsji/KX_PythonInit.cpp')
-rw-r--r--source/gameengine/Ketsji/KX_PythonInit.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/source/gameengine/Ketsji/KX_PythonInit.cpp b/source/gameengine/Ketsji/KX_PythonInit.cpp
index fc3e48f504c..a3d464f0d5d 100644
--- a/source/gameengine/Ketsji/KX_PythonInit.cpp
+++ b/source/gameengine/Ketsji/KX_PythonInit.cpp
@@ -81,11 +81,10 @@
#include "PyObjectPlus.h"
-//XXX
-#if 0
-
#include "KX_PythonInitTypes.h"
+#if 0 //XXX25
+
/* we only need this to get a list of libraries from the main struct */
#include "DNA_ID.h"
@@ -97,7 +96,7 @@ extern "C" {
#include "BGL.h"
#endif
}
-#endif
+#endif //XXX25
#include "marshal.h" /* python header for loading/saving dicts */
@@ -1606,7 +1605,7 @@ PyObject* initGamePlayerPythonScripting(const STR_String& progname, TPythonSecur
//importBlenderModules()
setSandbox(level);
- /* XXX 2.5 initPyTypes(); */
+ initPyTypes();
/* XXX 2.5 bpy_import_main_set(maggie); */
@@ -1645,7 +1644,7 @@ PyObject* initGamePythonScripting(const STR_String& progname, TPythonSecurityLev
Py_FrozenFlag=1;
setSandbox(level);
- /* XXX 2.5 initPyTypes(); */
+ initPyTypes();
/* XXX 2.5 bpy_import_main_set(maggie); */