[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [31885] trunk/blender/source/gameengine/ Ketsji/KX_PythonInit.cpp: BGE module reshuffling - VideoTexture -> bge. texture
Dalai Felinto
dfelinto at gmail.com
Sat Sep 11 21:38:12 CEST 2010
Revision: 31885
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=31885
Author: dfelinto
Date: 2010-09-11 21:38:11 +0200 (Sat, 11 Sep 2010)
Log Message:
-----------
BGE module reshuffling - VideoTexture -> bge.texture
this was the one module left to be renamed.
We didn't get to any conclusion in the mailing list, but Campbell suggested texture and I think its a good name. We can change any time before next Beta, but for now I think it's handy to have something.
The original proposal is from May:
http://lists.blender.org/pipermail/bf-committers/2010-May/027587.html
Modified Paths:
--------------
trunk/blender/source/gameengine/Ketsji/KX_PythonInit.cpp
Modified: trunk/blender/source/gameengine/Ketsji/KX_PythonInit.cpp
===================================================================
--- trunk/blender/source/gameengine/Ketsji/KX_PythonInit.cpp 2010-09-11 15:33:30 UTC (rev 31884)
+++ trunk/blender/source/gameengine/Ketsji/KX_PythonInit.cpp 2010-09-11 19:38:11 UTC (rev 31885)
@@ -1997,7 +1997,7 @@
initVideoTexture();
/* could be done a lot more nicely, but for now a quick way to get bge.* working */
- PyRun_SimpleString("sys = __import__('sys');mod = sys.modules['bge'] = type(sys)('bge');mod.__dict__.update({'logic':__import__('GameLogic'), 'render':__import__('Rasterizer'), 'events':__import__('GameKeys'), 'constraints':__import__('PhysicsConstraints'), 'types':__import__('GameTypes')});");
+ PyRun_SimpleString("sys = __import__('sys');mod = sys.modules['bge'] = type(sys)('bge');mod.__dict__.update({'logic':__import__('GameLogic'), 'render':__import__('Rasterizer'), 'events':__import__('GameKeys'), 'constraints':__import__('PhysicsConstraints'), 'types':__import__('GameTypes'), 'texture':__import__('VideoTexture')});");
}
static struct PyModuleDef Rasterizer_module_def = {
More information about the Bf-blender-cvs
mailing list