gzz-commits
[Top][All Lists]
Advanced

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

[Gzz-commits] gzz/gzz/view/buoy buoymanager.py


From: Matti Katila
Subject: [Gzz-commits] gzz/gzz/view/buoy buoymanager.py
Date: Sun, 09 Feb 2003 02:52:29 -0500

CVSROOT:        /cvsroot/gzz
Module name:    gzz
Changes by:     Matti Katila <address@hidden>   03/02/09 02:52:29

Modified files:
        gzz/view/buoy  : buoymanager.py 

Log message:
        oops..

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gzz/view/buoy/buoymanager.py.diff?tr1=1.14&tr2=1.15&r1=text&r2=text

Patches:
Index: gzz/gzz/view/buoy/buoymanager.py
diff -u gzz/gzz/view/buoy/buoymanager.py:1.14 
gzz/gzz/view/buoy/buoymanager.py:1.15
--- gzz/gzz/view/buoy/buoymanager.py:1.14       Sun Feb  9 02:14:17 2003
+++ gzz/gzz/view/buoy/buoymanager.py    Sun Feb  9 02:52:28 2003
@@ -57,10 +57,11 @@
        self.mainNode.renderMain(vs, self.nadir(main))
        self.cs[main] = None
         
-        if hasattr(self, "animationCS_buoy"):
+        if hasattr(self, "animationCS_buoy") and \
+               self.animationCS_buoy != None:
             # Interpolation : buoy -> to main vp
-            self.vs.matcher.keymapSingleCoordsys(main,
-                                                 self.animationCS_buoy)
+            self.vs.matcher.keymapSingleCoordsys(main,self.animationCS_buoy)
+            self.animationCS_buoy = None
         self.mainCS = main
 
     def link(self, direction, anchorCS, otherNode, linkId, otherAnchor):
@@ -105,8 +106,7 @@
                linkId == self.animationCS_main[1]:
             print 'Main to Buoy interpolation..'
             # Interpolation : mainvp -> to buoy
-            self.vs.matcher.keymapSingleCoordsys(into,
-                                                 self.animationCS_main[0])
+            self.vs.matcher.keymapSingleCoordsys(into,self.animationCS_main[0])
             self.animationCS_main = None
 
 




reply via email to

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