gzz-commits
[Top][All Lists]
Advanced

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

[Gzz-commits] libvob/vob/buoy buoymanager.py


From: Matti Katila
Subject: [Gzz-commits] libvob/vob/buoy buoymanager.py
Date: Wed, 06 Aug 2003 12:05:33 -0400

CVSROOT:        /cvsroot/libvob
Module name:    libvob
Branch:         
Changes by:     Matti Katila <address@hidden>   03/08/06 12:05:32

Modified files:
        vob/buoy       : buoymanager.py 

Log message:
        clean a bit

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

Patches:
Index: libvob/vob/buoy/buoymanager.py
diff -u libvob/vob/buoy/buoymanager.py:1.36 libvob/vob/buoy/buoymanager.py:1.37
--- libvob/vob/buoy/buoymanager.py:1.36 Sat Aug  2 03:51:59 2003
+++ libvob/vob/buoy/buoymanager.py      Wed Aug  6 12:05:32 2003
@@ -146,7 +146,7 @@
            dbg1 = self.vs.unitSqCS(into, "U")
            self.vs.put(coloredQuad((0,1,0)), dbg1)
 
-       into = self._nadir(into)
+        into = self._nadir(into)
        self.vs.activate(into)
 
        ### Render the buoy, get back anchor cs
@@ -202,14 +202,12 @@
         
 
 class MultiBuoyManager:
-    def __init__(self, mainNodes, connectors, geometer, eventHandler=None, 
context=None):
+    def __init__(self, mainNodes, connectors, geometer):
        self.singles = [
            SingleFocusManager(i, connectors) for i in mainNodes]
         self.connectors = connectors
        self.geometer = geometer
        self.replaceScene = None
-        self.events = eventHandler
-        self.context = context
         self.lastIndex = 0
     def key(self, key):
         if hasattr(self.geometer, 'key'):
@@ -280,8 +278,6 @@
        for i in range(0, len(self.singles)):
            if self.singles[i].mainNode.mouseClickHit(ev, self.vs, None):
                 self.lastIndex = i
-                self.context.states.lastMain = self.singles[i].mainNode
-                
                if self.singles[i].mainNode.mouse(ev, self.vs):
                    self.replaceScene = self.vs
                    vob.AbstractUpdateManager.setNoAnimation()




reply via email to

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