From: Digital X. <dig...@us...> - 2007-05-04 03:15:19
|
Update of /cvsroot/openrpg/openrpg1/orpg/mapper In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv4172/orpg/mapper Modified Files: grid.py Log Message: Fix for the hix grid issue Index: grid.py =================================================================== RCS file: /cvsroot/openrpg/openrpg1/orpg/mapper/grid.py,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** grid.py 9 Mar 2007 14:11:55 -0000 1.25 --- grid.py 4 May 2007 03:15:17 -0000 1.26 *************** *** 397,402 **** sz = self.canvas.size - # Enable DC optimizations if available on a platform - dc.BeginDrawing() x = 0 us = self.unit_size/self.size_ratio --- 397,400 ---- *************** *** 427,434 **** dc.DrawLines(lineArray) - - # Enable DC optimizations if available on a platform - dc.EndDrawing() - dc.SetPen(wx.NullPen) --- 425,428 ---- *************** *** 487,490 **** --- 481,485 ---- if xml_dom.hasAttribute("size"): self.unit_size = int(xml_dom.getAttribute("size")) + self.unit_size_y = self.unit_size if self.mode == GRID_RECTANGLE: self.unit_size_y = self.unit_size |