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 14:09:21 -0400

CVSROOT:        /cvsroot/libvob
Module name:    libvob
Changes by:     Matti Katila <address@hidden>   03/05/21 14:09:21

Modified files:
        vob/buoy       : buoymanager.py 

Log message:
        clue fix for pagecanvas events - not a good solution, need test\!

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

Patches:
Index: libvob/vob/buoy/buoymanager.py
diff -u libvob/vob/buoy/buoymanager.py:1.21 libvob/vob/buoy/buoymanager.py:1.22
--- libvob/vob/buoy/buoymanager.py:1.21 Wed May 21 13:57:08 2003
+++ libvob/vob/buoy/buoymanager.py      Wed May 21 14:09:21 2003
@@ -246,16 +246,22 @@
                return
 
         # ...then see context
-        if ev.getID() != ev.MOUSE_CLICKED:
-            return
         self.context.setMainNodeIndex(self.lastIndex)
         main = self.context.doMouse(ev, self.vs)
         if main != None:
+            if ev.getID() != ev.MOUSE_CLICKED: return
             self.singles[self.lastIndex] = SingleFocusManager(main, 
self.connectors)
                                          #ff.view.MainNode2D(plane,
                              #self.singles[self.lastIndex].getView2D(),
                              #0,0, 1)
             vob.AbstractUpdateManager.chg()
+        else:
+            self.context.setMainNodeIndex(self.lastIndex)
+            if self.singles[self.lastIndex].mainNode.mouse(ev, self.vs, w):
+                self.replaceScene = self.vs
+                vob.AbstractUpdateManager.setNoAnimation()
+            vob.AbstractUpdateManager.chg()
+
 
 
 vob.impl.gl.GLScreen.dbg = 0




reply via email to

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