Update of /cvsroot/openrpg/openrpg1/orpg/mapper
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv27837/orpg/mapper
Modified Files:
Tag: BRANCH-1-7-1
background.py miniatures.py
Log Message:
Fixed a bug for OSX and starting up
Fixed a miss spelling of Label (And added the ability to initate a label edit in the game tree by pressing F2)
Fixed a bug that was causing images to not load on older clients
Index: miniatures.py
===================================================================
RCS file: /cvsroot/openrpg/openrpg1/orpg/mapper/miniatures.py,v
retrieving revision 1.41
retrieving revision 1.41.2.1
diff -C2 -d -r1.41 -r1.41.2.1
*** miniatures.py 14 Feb 2007 06:23:42 -0000 1.41
--- miniatures.py 20 Feb 2007 10:17:45 -0000 1.41.2.1
***************
*** 448,452 ****
if self.path != None:
! xml_str += " path='" + urllib.quote(self.path) + "'"
if self.locked:
--- 448,452 ----
if self.path != None:
! xml_str += " path='" + urllib.quote(self.path).replace('%3A', ':') + "'"
if self.locked:
***************
*** 474,478 ****
if self.local:
xml_str += ' local="' + str(self.local) + '"'
! xml_str += ' localPath="' + str(urllib.quote(self.localPath)) + '"'
xml_str += ' localTime="' + str(self.localTime) + '"'
--- 474,478 ----
if self.local:
xml_str += ' local="' + str(self.local) + '"'
! xml_str += ' localPath="' + str(urllib.quote(self.localPath).replace('%3A', ':')) + '"'
xml_str += ' localTime="' + str(self.localTime) + '"'
Index: background.py
===================================================================
RCS file: /cvsroot/openrpg/openrpg1/orpg/mapper/background.py,v
retrieving revision 1.27
retrieving revision 1.27.2.1
diff -C2 -d -r1.27 -r1.27.2.1
*** background.py 14 Feb 2007 06:23:42 -0000 1.27
--- background.py 20 Feb 2007 10:17:45 -0000 1.27.2.1
***************
*** 277,281 ****
if self.img_path != None:
! xml_str += ' path="' + urllib.quote(self.img_path) + '"'
if self.type != None:
--- 277,281 ----
if self.img_path != None:
! xml_str += ' path="' + urllib.quote(self.img_path).replace('%3A', ':') + '"'
if self.type != None:
***************
*** 284,288 ****
if self.local and self.img_path != None:
xml_str += ' local="True"'
! xml_str += ' localPath="' + urllib.quote(self.localPath) + '"'
xml_str += ' localTime="' + str(self.localTime) + '"'
--- 284,288 ----
if self.local and self.img_path != None:
xml_str += ' local="True"'
! xml_str += ' localPath="' + urllib.quote(self.localPath).replace('%3A', ':') + '"'
xml_str += ' localTime="' + str(self.localTime) + '"'
|