comparison orpg/gametree/gametree.py @ 238:b44dad398833 beta

Traipse Beta 'OpenRPG' {100619-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 (Closing/Closed) New Features: New to Map, can re-order Grid, Miniatures, and Whiteboard layer draw order New to Server GUI, can now clear log Updates: Update to Warhammer PC Sheet. Rollers set as macros. Should work with little maintanence. Update to Browser Server window. Display rooms with ' " & cleaner Update to Server. Handles ' " & cleaner. Fixes: Fix to InterParse that was causing an Infernal Loop with Namespace Internal Fix to XML data, removed old Minidom and switched to Element Tree Fix to Server that was causing eternal attempt to find a Server ID, in Register Rooms thread Fix to metaservers.xml file not being created Fix to Single and Double quotes in Whiteboard text Fix to Background images not showing when using the Image Server Fix to Duplicate chat names appearing Fix to Server GUI's logging output Fix to FNB.COLORFUL_TABS bug Fix to Gametree for XSLT Sheets
author sirebral
date Sat, 19 Jun 2010 10:17:24 -0500
parents 9230a33defd9
children 56c1f2729413
comparison
equal deleted inserted replaced
237:42f4809ad8a8 238:b44dad398833
698 family_tree.append(parent) 698 family_tree.append(parent)
699 return family_tree 699 return family_tree
700 700
701 def load_xml(self, xml_element, parent_node, prev_node=None, drag_drop=False): 701 def load_xml(self, xml_element, parent_node, prev_node=None, drag_drop=False):
702 if parent_node == self.root: 702 if parent_node == self.root:
703 name = xml_element.get('name').replace(u'\xa0', ' ') #Required for XSLT sheets
704 xml_element.set('name', name)
703 self.tree_map[xml_element.get('name')] = {} 705 self.tree_map[xml_element.get('name')] = {}
704 self.tree_map[xml_element.get('name')]['node'] = xml_element 706 self.tree_map[xml_element.get('name')]['node'] = xml_element
705 xml_element.set('map', '') 707 xml_element.set('map', '')
706 if parent_node != self.root: 708 if parent_node != self.root:
707 ## Loading XML seems to lag on Grids and Images need a cache for load speed ## 709 ## Loading XML seems to lag on Grids and Images need a cache for load speed ##