gnome-games r7513 - in branches/gnome-2-22/glchess: . src/lib/scene/opengl



Author: rancell
Date: Tue Mar 11 10:53:05 2008
New Revision: 7513
URL: http://svn.gnome.org/viewvc/gnome-games?rev=7513&view=rev

Log:
Fix board rotation animation bug when viewing black side

Modified:
   branches/gnome-2-22/glchess/ChangeLog
   branches/gnome-2-22/glchess/src/lib/scene/opengl/opengl.py

Modified: branches/gnome-2-22/glchess/src/lib/scene/opengl/opengl.py
==============================================================================
--- branches/gnome-2-22/glchess/src/lib/scene/opengl/opengl.py	(original)
+++ branches/gnome-2-22/glchess/src/lib/scene/opengl/opengl.py	Tue Mar 11 10:53:05 2008
@@ -261,7 +261,7 @@
         self.targetBoardAngle = angle
         
         if not animate:
-            self.boardAngle = angle
+            self.oldBoardAngle = self.boardAngle = angle
             self.feedback.onRedraw()
             return
         



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]