gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] /srv/bzr/gnash/trunk r11230: I've manually tested that mo


From: Sandro Santilli
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r11230: I've manually tested that moveTo() still closes a fill up when moving to where it is already. Sorry, no automated testcase for this so will break again later ...
Date: Wed, 08 Jul 2009 18:19:10 +0200
User-agent: Bazaar (1.13.1)

------------------------------------------------------------
revno: 11230
committer: Sandro Santilli <address@hidden>
branch nick: trunk
timestamp: Wed 2009-07-08 18:19:10 +0200
message:
  I've manually tested that moveTo() still closes a fill up when moving to 
where it is already. Sorry, no automated testcase for this so will break again 
later ...
modified:
  libcore/DynamicShape.cpp
=== modified file 'libcore/DynamicShape.cpp'
--- a/libcore/DynamicShape.cpp  2009-07-07 21:03:53 +0000
+++ b/libcore/DynamicShape.cpp  2009-07-08 16:19:10 +0000
@@ -197,12 +197,13 @@
 void
 DynamicShape::moveTo(boost::int32_t x, boost::int32_t y)
 {
-       if ( x != _x || y != _y )
-       {
-               _x = x;
-               _y = y;
-               startNewPath(false);
-       }
+    // It was manually tested that a moveTo, even
+    // when moving to the same point of current cursor,
+    // will start a new path.
+
+    _x = x;
+    _y = y;
+    startNewPath(false);
 }
 
 void


reply via email to

[Prev in Thread] Current Thread [Next in Thread]