Browse files

fix for addon loading when protos file not present

  • Loading branch information...
1 parent a32b417 commit f99e044cd00152471dc13355af730950506bd2b4 Stephen Dekorte committed May 10, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 libs/iovm/io/
@@ -101,7 +101,7 @@ AddonLoader := Object clone do(
//doc Addon addons Looks for all addons which can be found and returns them as a list of Addon objects. Caches the result the first time it is called.
addons := method(
searchFolders := searchPaths map(path, Directory with(path)) select(exists)
- addonFolders := searchFolders map(directories) flatten select(isAccessible) select(fileNames contains("protos"))
+ addonFolders := searchFolders map(directories) flatten //select(isAccessible) select(v, v fileNames contains("protos") or v fileNames contains(""))
//writeln("addonFolders = ", addonFolders map
self addons := addonFolders map(f, Addon clone setRootPath(f path pathComponent) setName(f path lastPathComponent))

0 comments on commit f99e044

Please sign in to comment.