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: Tuomas J. Lukka
Subject: [Gzz-commits] libvob/vob/buoy buoymanager.py
Date: Wed, 16 Apr 2003 05:34:42 -0400

CVSROOT:        /cvsroot/libvob
Module name:    libvob
Changes by:     Tuomas J. Lukka <address@hidden>        03/04/16 05:34:42

Modified files:
        vob/buoy       : buoymanager.py 

Log message:
        Fix scene replacing

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

Patches:
Index: libvob/vob/buoy/buoymanager.py
diff -u libvob/vob/buoy/buoymanager.py:1.2 libvob/vob/buoy/buoymanager.py:1.3
--- libvob/vob/buoy/buoymanager.py:1.2  Wed Apr 16 04:27:31 2003
+++ libvob/vob/buoy/buoymanager.py      Wed Apr 16 05:34:42 2003
@@ -54,6 +54,7 @@
        initLinkId and initAnchor parameters to create
        the main view.
        """
+       self.replaceScene = None
        self.mainNode = initBuoyviewnodetype.createMainNode(
                            initLinkId, initAnchor, self)
     def nadir(self, cs):
@@ -61,6 +62,10 @@
        self.vs.matcher.add(cs, n, "NADIR")
        return n
     def scene(self, vs):
+       if self.replaceScene: 
+           sc = self.replaceScene
+           self.replaceScene = None
+           return sc
        self.vs = vs
        self.cs = { }
 
@@ -177,7 +182,7 @@
        # print "IN CS: ",cs, link
        if link == None:
            if self.mainNode.mouse(ev, self.vs):
-               replaceNewScene(self.vs)
+               self.replaceScene = self.vs
                vob.AbstractUpdateManager.setNoAnimation()
                vob.AbstractUpdateManager.chg()
        else:




reply via email to

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