[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] libvob/vob/buoy buoymanager.py
From: |
Benja Fallenstein |
Subject: |
[Gzz-commits] libvob/vob/buoy buoymanager.py |
Date: |
Mon, 09 Jun 2003 17:48:55 -0400 |
CVSROOT: /cvsroot/libvob
Module name: libvob
Branch:
Changes by: Benja Fallenstein <address@hidden> 03/06/09 17:48:54
Modified files:
vob/buoy : buoymanager.py
Log message:
improve interpolations from other foci somewhat
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/libvob/libvob/vob/buoy/buoymanager.py.diff?tr1=1.29&tr2=1.30&r1=text&r2=text
Patches:
Index: libvob/vob/buoy/buoymanager.py
diff -u libvob/vob/buoy/buoymanager.py:1.29 libvob/vob/buoy/buoymanager.py:1.30
--- libvob/vob/buoy/buoymanager.py:1.29 Sun Jun 8 08:56:21 2003
+++ libvob/vob/buoy/buoymanager.py Mon Jun 9 17:48:53 2003
@@ -119,7 +119,7 @@
### Buoy coordinate system
buoy = self.vs.coords.buoyOnCircle2(self.buoyinto, shiftedAnchorCS,
direction, 10)
- self.vs.matcher.add(self.buoyinto, buoy, linkId)
+ self.vs.matcher.add(self.buoyinto, buoy, (linkId, direction))
#### Buoy size
obj = otherNode.getSize(linkId, otherAnchor, size)
@@ -173,6 +173,19 @@
pa( "Following link", link)
self.mainNode = link[0].createMainNode(link[1], link[2])
+
+ def followLinkFromManager(self, link, mgr):
+ """
+ If the link isn't from this manager, follow the link,
+ but don't animate own center to buoy.
+ """
+ if mgr == self: return self.followLink(link)
+
+ cs = link[3]
+ self.animationCS_buoy = [cs, link, self.vs]
+ #self.animationCS_main = [self.mainCS, link, self.vs]
+ self.mainNode = link[0].createMainNode(link[1], link[2])
+
def followLinkByAnchor(self, anchor):
pa("Searching for anchor", anchor)
- [Gzz-commits] libvob/vob/buoy buoymanager.py, Benja Fallenstein, 2003/06/07
- [Gzz-commits] libvob/vob/buoy buoymanager.py, Benja Fallenstein, 2003/06/07
- [Gzz-commits] libvob/vob/buoy buoymanager.py, Benja Fallenstein, 2003/06/08
- [Gzz-commits] libvob/vob/buoy buoymanager.py,
Benja Fallenstein <=
- [Gzz-commits] libvob/vob/buoy buoymanager.py, Matti Katila, 2003/06/19
- [Gzz-commits] libvob/vob/buoy buoymanager.py, Matti Katila, 2003/06/24
- [Gzz-commits] libvob/vob/buoy buoymanager.py, Matti Katila, 2003/06/25
- [Gzz-commits] libvob/vob/buoy buoymanager.py, Matti Katila, 2003/06/26