fenfire-commits
[Top][All Lists]
Advanced

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

[ff-cvs] libvob/vob/buoy buoymanager.py


From: Tuomas J. Lukka
Subject: [ff-cvs] libvob/vob/buoy buoymanager.py
Date: Tue, 26 Aug 2003 04:59:19 -0400

CVSROOT:        /cvsroot/libvob
Module name:    libvob
Branch:         
Changes by:     Tuomas J. Lukka <address@hidden>        03/08/26 04:59:18

Modified files:
        vob/buoy       : buoymanager.py 

Log message:
        Make buoymanager run again.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/libvob/libvob/vob/buoy/buoymanager.py.diff?tr1=1.66&tr2=1.67&r1=text&r2=text

Patches:
Index: libvob/vob/buoy/buoymanager.py
diff -u libvob/vob/buoy/buoymanager.py:1.66 libvob/vob/buoy/buoymanager.py:1.67
--- libvob/vob/buoy/buoymanager.py:1.66 Mon Aug 25 17:59:05 2003
+++ libvob/vob/buoy/buoymanager.py      Tue Aug 26 04:59:18 2003
@@ -236,7 +236,7 @@
         hit = jarray.zeros(1, 'f')
         theTopMostMainNode = None
         depth = None
-       for single in range(self.singles):
+       for single in self.singles:
             if single.mainNode.hasMouseHit(vs, x, y, hit):
                 if not depth:
                     depth = hit[0]
@@ -244,7 +244,7 @@
                 else:
                     if depth < hit[0]:
                         theTopMostMainNode = single.mainNode
-       return theMostUpMainNode
+       return theTopMostMainNode
         
     def findIfBuoyHit(self, vs, x, y):
        """If a buoy was hit by the coordinates, return the 




reply via email to

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