[GRASS-SVN] r57548 - grass/trunk/gui/wxpython/animation
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Aug 29 07:57:56 PDT 2013
Author: annakrat
Date: 2013-08-29 07:57:56 -0700 (Thu, 29 Aug 2013)
New Revision: 57548
Modified:
grass/trunk/gui/wxpython/animation/controller.py
Log:
wxGUI/animation: fix export
Modified: grass/trunk/gui/wxpython/animation/controller.py
===================================================================
--- grass/trunk/gui/wxpython/animation/controller.py 2013-08-29 14:49:51 UTC (rev 57547)
+++ grass/trunk/gui/wxpython/animation/controller.py 2013-08-29 14:57:56 UTC (rev 57548)
@@ -471,9 +471,9 @@
# determine position and sizes of bitmaps
for i, (win, anim) in enumerate(zip(self.mapwindows, self.animations)):
if anim.IsActive():
- pos = tuple([pos1 + pos2 for pos1, pos2 in zip(win.GetPosition(), win.GetAdjustedPosition())])
+ pos = win.GetPosition()
animWinPos.append(pos)
- animWinSize.append(win.GetAdjustedSize())
+ animWinSize.append(win.GetSize())
animWinIndex.append(i)
images = []
More information about the grass-commit
mailing list