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, 21 May 2003 13:57:08 -0400

CVSROOT:        /cvsroot/libvob
Module name:    libvob
Changes by:     Matti Katila <address@hidden>   03/05/21 13:57:08

Modified files:
        vob/buoy       : buoymanager.py 

Log message:
        changes for main node changes

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

Patches:
Index: libvob/vob/buoy/buoymanager.py
diff -u libvob/vob/buoy/buoymanager.py:1.20 libvob/vob/buoy/buoymanager.py:1.21
--- libvob/vob/buoy/buoymanager.py:1.20 Mon May 19 08:36:42 2003
+++ libvob/vob/buoy/buoymanager.py      Wed May 21 13:57:08 2003
@@ -180,6 +180,7 @@
     def __init__(self, mainNodes, connectors, geometer, context):
        self.singles = [
            SingleFocusManager(i, connectors) for i in mainNodes]
+        self.connectors = connectors
        self.geometer = geometer
        self.replaceScene = None
         self.context = context
@@ -245,10 +246,12 @@
                return
 
         # ...then see context
+        if ev.getID() != ev.MOUSE_CLICKED:
+            return
         self.context.setMainNodeIndex(self.lastIndex)
-        plane = self.context.doMouse(ev, self.vs)
-        if plane != None:
-            self.singles[self.lastIndex] = plane
+        main = self.context.doMouse(ev, self.vs)
+        if main != None:
+            self.singles[self.lastIndex] = SingleFocusManager(main, 
self.connectors)
                                          #ff.view.MainNode2D(plane,
                              #self.singles[self.lastIndex].getView2D(),
                              #0,0, 1)




reply via email to

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