[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [53565] branches/ge_components/release/ scripts/modules/bpy/utils.py: Keep bpy from running and trying to register BGE components.
Mitchell Stokes
mogurijin at gmail.com
Fri Jan 4 23:48:05 CET 2013
Revision: 53565
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=53565
Author: moguri
Date: 2013-01-04 22:48:03 +0000 (Fri, 04 Jan 2013)
Log Message:
-----------
Keep bpy from running and trying to register BGE components.
Modified Paths:
--------------
branches/ge_components/release/scripts/modules/bpy/utils.py
Modified: branches/ge_components/release/scripts/modules/bpy/utils.py
===================================================================
--- branches/ge_components/release/scripts/modules/bpy/utils.py 2013-01-04 21:59:24 UTC (rev 53564)
+++ branches/ge_components/release/scripts/modules/bpy/utils.py 2013-01-04 22:48:03 UTC (rev 53565)
@@ -227,7 +227,7 @@
_sys_path_ensure(path)
# only add this to sys.modules, don't run
- if path_subdir == "modules":
+ if path_subdir in ("modules", "bge_components"):
continue
for mod in modules_from_path(path, loaded_modules):
More information about the Bf-blender-cvs
mailing list