diff options
author | Colin Noga <Tempus@chronometry.ca> | 2012-08-28 13:02:14 -0500 |
---|---|---|
committer | Colin Noga <Tempus@chronometry.ca> | 2012-08-28 13:02:14 -0500 |
commit | fc9ba20ea4446049ebf68e1e9b9dfd77352cedd2 (patch) | |
tree | ade73af132c8d413ef5e93d97d55c0781787f4ed /src/mapdata.py | |
parent | 03cd34aba4e4184142c025fe7cdcb9e4e0a5d7ab (diff) | |
download | koopatlas-fc9ba20ea4446049ebf68e1e9b9dfd77352cedd2.tar.gz koopatlas-fc9ba20ea4446049ebf68e1e9b9dfd77352cedd2.zip |
export batch fixed, checkbox for secret added
Diffstat (limited to '')
-rw-r--r-- | src/mapdata.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mapdata.py b/src/mapdata.py index 5d46685..8f3842a 100644 --- a/src/mapdata.py +++ b/src/mapdata.py @@ -149,7 +149,7 @@ class KPTileLayer(KPLayer): @mapfile.dumpable('associate_layer') class KPPathTileLayer(KPLayer): - __dump_attribs__ = KPLayer.__dump_attribs__ + ('tileset', 'objects', 'doodads') + __dump_attribs__ = KPLayer.__dump_attribs__ + ('tileset', 'objects', 'doodads', 'folder') def _dump(self, mapObj, dest): if isinstance(self.associate, KPNode): @@ -182,6 +182,7 @@ class KPPathTileLayer(KPLayer): self.objects = [] self.doodads = [] self.associate = pathnode + self.folder = '' self.updateCache() @@ -282,8 +283,6 @@ class KPDoodad(object): def _dump(self, mapObj, dest): dest['sourceRef'] = mapObj.refDoodad(self.source) - print self.animations - print mapObj, dest def _load(self, mapObj, src): self.source = mapObj.derefDoodad(src['sourceRef']) @@ -574,6 +573,7 @@ class KPMap(object): if path is None: raise "no path specified for this map" + KP.mainWindow.pathNodeList.setLayerFolders() self.associateLayers = KP.mainWindow.pathNodeList.getLayers() import mapfile |