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-10 04:22:18 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-06-10 04:22:18 +0400
commit0d6ffd925df0c4a5658d6195ca0e535f0e09fdac (patch)
treecd62c51faffaf86a334fbd5a43dd134d783f2750 /release/scripts/modules/bpy
parent02bcba341dd403906027ed0a4122c3ce68bf6b7a (diff)
remove duplicate import
Diffstat (limited to 'release/scripts/modules/bpy')
-rw-r--r--release/scripts/modules/bpy/utils.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/release/scripts/modules/bpy/utils.py b/release/scripts/modules/bpy/utils.py
index 2e6d1bf8fbc..4e8179775d5 100644
--- a/release/scripts/modules/bpy/utils.py
+++ b/release/scripts/modules/bpy/utils.py
@@ -345,8 +345,7 @@ def preset_paths(subdir):
dirs.append(directory)
# Find addons preset paths
- import addon_utils
- for path in addon_utils.paths():
+ for path in _addon_utils.paths():
directory = _os.path.join(path, "presets", subdir)
if _os.path.isdir(directory):
dirs.append(directory)