/[libvob]/libvob/vob/buoy/buoymanager.py
ViewVC logotype

Diff of /libvob/vob/buoy/buoymanager.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.71 by mudyc, Tue Aug 26 09:47:30 2003 UTC revision 1.72 by mudyc, Mon Sep 1 16:20:06 2003 UTC
# Line 220  class MultiBuoyManager: Line 220  class MultiBuoyManager:
220      def scene(self, vs):      def scene(self, vs):
221          self.vs = vs          self.vs = vs
222    
223          geoms = self.geometer.place(vs)          geoms = jarray.zeros(2, 'i')
224            # set jarray items to -1
225            for i in range(len(geoms)): geoms[i] = -1
226            self.geometer.place(vs, geoms)
227    
228          for i in range(0, len(self.singles)):          for i in range(0, len(self.singles)):
229              if geoms[i][0] >= 0:              if geoms[i] >= 0:
230                  self.singles[i].drawScene(vs,                  self.singles[i].drawScene(vs,
231                          geoms[i][0])                          geoms[i])
232    
233      def findTopmostMainNode(self, vs, x, y):      def findTopmostMainNode(self, vs, x, y):
234          """Get the topmost main node at x, y.          """Get the topmost main node at x, y.

Legend:
Removed from v.1.71  
changed lines
  Added in v.1.72

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26