diff clients/editor/plugins/mapeditor.py @ 182:bcc93e17f978

- added new plugin to FIFedit (Layertool) FEATURES: - layers now can be toogled visible / invisible - tool also allows layer selection (better workflow IMO) - just click on the layer name - demo screencapture can be found here: http://zero-projekt.net/files/screencaptures/1280x_zero_fifedit_layertool.ogg Please let me know if this plugin causes any trouble for you.
author chewie@33b003aa-7bff-0310-803a-e67f0ece8222
date Wed, 11 Feb 2009 19:27:18 +0000
parents 28532ae6f9f6
children fcef34d67ad9
line wrap: on
line diff
--- a/clients/editor/plugins/mapeditor.py	Sat Jan 31 04:15:43 2009 +0000
+++ b/clients/editor/plugins/mapeditor.py	Wed Feb 11 19:27:18 2009 +0000
@@ -243,6 +243,10 @@
 		self._setMode(VIEWING)
 		
 		self._mapselector.show(self._map)
+		
+		# zero-projekt plugin
+		if self.layertool is not None:
+			self.layertool.update()
 	
 	def _selectLayer(self):
 		Selection([layer.getId() for layer in self._map.getLayers()], self._editLayer)