summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwushin <pasekei@gmail.com>2014-04-21 22:21:49 -0500
committerwushin <pasekei@gmail.com>2014-04-21 22:21:49 -0500
commit3aa30def5d2976cddad105e5f6a2eba9bcf62ae8 (patch)
tree2be044800604a9395f356ed9842eeaf30e4f8baa
parent88ae12a652fada249414cb7913cb697d23c14f97 (diff)
downloadtools-3aa30def5d2976cddad105e5f6a2eba9bcf62ae8.tar.gz
tools-3aa30def5d2976cddad105e5f6a2eba9bcf62ae8.tar.bz2
tools-3aa30def5d2976cddad105e5f6a2eba9bcf62ae8.tar.xz
tools-3aa30def5d2976cddad105e5f6a2eba9bcf62ae8.zip
Fixed minimap render to respect new path
Added --hide-layer Collision to options so it won't ever add back
-rwxr-xr-xclient/minimap-render.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/minimap-render.py b/client/minimap-render.py
index c9cb4a1..a92a48b 100755
--- a/client/minimap-render.py
+++ b/client/minimap-render.py
@@ -10,7 +10,7 @@ import re
CLIENT_DATA_ROOT = os.path.realpath(
os.path.join(
os.path.dirname(__file__),
- u'..',
+ u'../../client-data',
)
)
@@ -67,7 +67,7 @@ class MinimapRenderer(object):
mrf, map_raster = tempfile.mkstemp(suffix='.png')
tmxrasterizer_cmd = [
platform_programs.get('tmxrasterizer'),
- '--tilesize', str(self.tilesize),
+ '--tilesize', str(self.tilesize), '--hide-layer', 'Collision',
]
if self.useAntiAliasing:
tmxrasterizer_cmd.append('--anti-aliasing')