/[gzz]/gzz/gfx/demo/buoyoing.py
ViewVC logotype

Diff of /gzz/gfx/demo/buoyoing.py

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

revision 1.10 by tjl, Tue Feb 11 07:42:26 2003 UTC revision 1.11 by tjl, Tue Feb 11 08:33:17 2003 UTC
# Line 47  adaptor = BuoyAdaptor() Line 47  adaptor = BuoyAdaptor()
47  adaptor.cellNodes = [PPCanvasNode(p, space, w), zzNodes.VanishingNodeType()]  adaptor.cellNodes = [PPCanvasNode(p, space, w), zzNodes.VanishingNodeType()]
48  adaptor.cellLinkers = [PPLinker(p.clone, p.association), scrollblockLinker]  adaptor.cellLinkers = [PPLinker(p.clone, p.association), scrollblockLinker]
49    
50    # Now, before reading the xu stuff, render something to try to prevent NV driver
51    # fallback to software rendering.
52    vs = w.createVobScene()
53    vs.put(background((.8, .4, .9)))
54    w.renderStill(vs, 0)
55    
56  if xulinks:  if xulinks:
57      xuspace = gzz.impl.ModularSpace(*test.tools.tools.spaceArgList())      xuspace = gzz.impl.ModularSpace(*test.tools.tools.spaceArgList())
# Line 105  else: Line 110  else:
110    
111    
112    
   
113  class Scene(buoymanager.RealBuoyManager):  class Scene(buoymanager.RealBuoyManager):
114      def __init__(self):      def __init__(self):
115          buoymanager.RealBuoyManager.__init__(self, *mainNodeType)          buoymanager.RealBuoyManager.__init__(self, *mainNodeType)

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

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