summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwushin <pasekei@gmail.com>2014-04-21 23:21:20 -0500
committerwushin <pasekei@gmail.com>2014-04-21 23:21:20 -0500
commitd6159dee63b22c214939120962b8b01fa2621578 (patch)
tree2be044800604a9395f356ed9842eeaf30e4f8baa
parent88ae12a652fada249414cb7913cb697d23c14f97 (diff)
parent3aa30def5d2976cddad105e5f6a2eba9bcf62ae8 (diff)
downloadtools-d6159dee63b22c214939120962b8b01fa2621578.tar.gz
tools-d6159dee63b22c214939120962b8b01fa2621578.tar.bz2
tools-d6159dee63b22c214939120962b8b01fa2621578.tar.xz
tools-d6159dee63b22c214939120962b8b01fa2621578.zip
Merge pull request #3 from wushin/Mini-map-Render-symlink-fix
Fixed minimap render to respect new path
-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')