diff clients/editor/scripts/mapview.py @ 282:0adf9423062e

* Buttons and functions for importing objects in the editor * Fixed an index overflow bug in FileBrowser which could occur when selectDirs was enabled * Removed unused import functions from MapView
author cheesesucker@33b003aa-7bff-0310-803a-e67f0ece8222
date Wed, 17 Jun 2009 01:34:59 +0000
parents 51cc05d862f2
children 7ddec4ce99b3
line wrap: on
line diff
--- a/clients/editor/scripts/mapview.py	Tue Jun 16 18:57:56 2009 +0000
+++ b/clients/editor/scripts/mapview.py	Wed Jun 17 01:34:59 2009 +0000
@@ -83,17 +83,5 @@
 	def close(self):
 		""" Closes the mapview """
 		pass
-		
-		
-	def importFile(self, path):
-		""" Imports a file supported by the provided loaders. """
-		loaders.loadImportFile(path, self._editor.getEngine())
-		
-	def importDir(self, path, recursive=True):
-		""" Imports an entire directory supported by the provided loaders. """
-		self.importlist.append(path)
-		if recursive is True:
-			loaders.loadImportDirRec(path, self._editor.getEngine())
-		else:
-			loaders.loadImportDir(path, self._editor.getEngine())
+
 	
\ No newline at end of file