comparison orpg/mapper/background_handler.py @ 92:68c7bd272f27 beta

Traipse Beta 'OpenRPG' {090919-00} Traipse is a distribution of OpenRPG that is designed to be easy to setup and go. Traipse also makes it easy for developers to work on code without fear of sacrifice. 'Ornery-Orc' continues the trend of 'Grumpy' and adds fixes to the code. 'Ornery-Orc''s main goal is to offer more advanced features and enhance the productivity of the user. Update Summary: Adds menu changes to draw attention to important updates, errors, or other events. (image info coming soon) Traipse URL is not included in the repos tab and is set as default. Fixes Copy for Windows and Linux (finally!!) users. Fixes incomplete update to Grid and List nodes. Fixes incomplete update to Chat Commands. Fixes problems with Remote Image Upload. Fixes Drop and Drag of Minis to Map. CherryPy can now use any image in the webfiles/ folder and sub-folders. CherryPy can now Drop and Drag Minis to the Map. Minor changes to Update Manager's GUI. Expert recommendation warning added to Revision Update. Step down compatibility with open_rpg & component added to orpgCore. Using majority of 'Grumpy' network folder to correct server lag.
author sirebral
date Sat, 19 Sep 2009 06:50:43 -0500
parents 37a11fea3304
children 06f10429eedc
comparison
equal deleted inserted replaced
84:5c12918d6bb2 92:68c7bd272f27
88 thread.start_new_thread(self.canvas.layers['bg'].upload, 88 thread.start_new_thread(self.canvas.layers['bg'].upload,
89 (postdata, dlg.GetPath(), self.bg_type.GetStringSelection())) 89 (postdata, dlg.GetPath(), self.bg_type.GetStringSelection()))
90 else: 90 else:
91 try: min_url = component.get("cherrypy") + filename 91 try: min_url = component.get("cherrypy") + filename
92 except: return 92 except: return
93 min_url = dlg.GetDirectory().replace(orpg.dirpath.dir_struct["user"]+'webfiles' + os.sep, 93 min_url = dlg.GetDirectory().replace(orpg.dirpath.dir_struct["user"]+'webfiles',
94 component.get("cherrypy")) + '/' + filename 94 component.get("cherrypy")).replace(os.sep, '/') + '/' + filename
95 95
96 if self.bg_type.GetStringSelection() == 'Texture': self.canvas.layers['bg'].set_texture(min_url) 96 if self.bg_type.GetStringSelection() == 'Texture': self.canvas.layers['bg'].set_texture(min_url)
97 elif self.bg_type.GetStringSelection() == 'Image': self.size = self.canvas.layers['bg'].set_image(min_url,1) 97 elif self.bg_type.GetStringSelection() == 'Image': self.size = self.canvas.layers['bg'].set_image(min_url,1)
98 self.update_info() 98 self.update_info()
99 self.canvas.send_map_data() 99 self.canvas.send_map_data()