remove duplicate import
authorCampbell Barton <ideasman42@gmail.com>
Sun, 10 Jun 2012 00:22:18 +0000 (00:22 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 10 Jun 2012 00:22:18 +0000 (00:22 +0000)
release/scripts/modules/bpy/utils.py

index 2e6d1bf8fbc4a2848a6d997fd6616f0c54c07fad..4e8179775d59f0f99af086cf4e1ac1cc9371791d 100644 (file)
@@ -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)