Blender Git Loki
Git Commits -> Revision ed5d0bb
Revision ed5d0bb by Campbell Barton (master) July 26, 2010, 08:49 (GMT) |
patch from Mitchell Stokes with some changes. BGE Py Controllers were effectively doing this... "a.b.c" --> "__import__('a').b.c()" This was annoying because it meant module 'a' would need to import 'b' explicitly. Now use import like this. "a.b.c" --> "__import__("a.b").c()" Note that this has the slight disadvantage that these need to be modules, where as before they could be collections of functions in a class instance for eg. So its possible this breaks existing files but dont think anyone used this since its a fairly obscure use case. |
Commit Details:
Full Hash: ed5d0bb62f01cad4f1190dd3830f868067bbc088
SVN Revision: 30746
Parent Commit: e62c0ea
Lines Changed: +24, -32
1 Modified Path:
/source/gameengine/GameLogic/SCA_PythonController.cpp (+24, -32) (Diff)