From b0ee71a8158c2548344f456193d95570a9d16c2f Mon Sep 17 00:00:00 2001 From: Pierre Guinoiseau Date: Mon, 26 Mar 2012 19:12:45 +0200 Subject: [PATCH] Find images in anim/ directory too, useful for MCPatcher images like custom_water_still.png --- overviewer_core/textures.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/overviewer_core/textures.py b/overviewer_core/textures.py index edf90cb..46ab8ba 100644 --- a/overviewer_core/textures.py +++ b/overviewer_core/textures.py @@ -124,14 +124,14 @@ class Textures(object): * The overviewer_core/data/textures dir - In all of these, files are searched for in '.', 'misc/', and + In all of these, files are searched for in '.', 'anim', 'misc/', and 'environment/'. """ # a list of subdirectories to search for a given file, # after the obvious '.' - search_dirs = ['misc', 'environment'] + search_dirs = ['anim', 'misc', 'environment'] search_zip_paths = [filename,] + [d + '/' + filename for d in search_dirs] def search_dir(base): """Search the given base dir for filename, in search_dirs."""