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>2012-06-28 23:22:13 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-06-28 23:22:13 +0400
commitacb0a50fb314c6ab38bfbfce84ec0ab71f03603c (patch)
tree3d75d34ce29524dd723d1519f1c42921542a9a05 /release
parenta45cba5f71d7701e00f49a837d2e62e2232348e7 (diff)
print warning if a script in the addons dir has no bl_info.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/modules/addon_utils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/release/scripts/modules/addon_utils.py b/release/scripts/modules/addon_utils.py
index f90c04eda02..02d9cd2d1c6 100644
--- a/release/scripts/modules/addon_utils.py
+++ b/release/scripts/modules/addon_utils.py
@@ -139,6 +139,8 @@ def modules(module_cache):
return mod
else:
+ print("fake_module: addon missing 'bl_info' "
+ "gives bad performance!: %r" % mod_path)
return None
modules_stale = set(module_cache.keys())