Blender Git Loki
Git Commits -> Revision 1e7df58
Revision 1e7df58 by Campbell Barton (master) April 29, 2009, 23:39 (GMT) |
python modules in the game engine could point to builtin modules like GameLogic that was cleared. I added module clearing before there was checks for invalid python objects, so now its not needed for BGE Builtin types at least. also made the builtin modules get re-used if they already exist and clear all user modules when the game engine finishes so with Module-Py-Controllers the referenced modules are at least up to date when pressing Pkey. |
Commit Details:
Full Hash: 1e7df5851959db6822bdc2a71b83aa533b0ec117
SVN Revision: 19989
Parent Commit: 537b080
Lines Changed: +119, -32
7 Modified Paths:
/source/blender/python/api2_2x/bpy_internal_import.c (+8, -3) (Diff)
/source/blender/python/api2_2x/bpy_internal_import.h (+1, -1) (Diff)
/source/gameengine/Expressions/InputParser.cpp (+14, -2) (Diff)
/source/gameengine/Expressions/Value.cpp (+14, -2) (Diff)
/source/gameengine/Ketsji/KX_PyConstraintBinding.cpp (+13, -2) (Diff)
/source/gameengine/Ketsji/KX_PythonInit.cpp (+52, -17) (Diff)
/source/gameengine/VideoTexture/blendVideoTex.cpp (+17, -5) (Diff)
/source/blender/python/api2_2x/bpy_internal_import.h (+1, -1) (Diff)
/source/gameengine/Expressions/InputParser.cpp (+14, -2) (Diff)
/source/gameengine/Expressions/Value.cpp (+14, -2) (Diff)
/source/gameengine/Ketsji/KX_PyConstraintBinding.cpp (+13, -2) (Diff)
/source/gameengine/Ketsji/KX_PythonInit.cpp (+52, -17) (Diff)
/source/gameengine/VideoTexture/blendVideoTex.cpp (+17, -5) (Diff)