Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] r2076 - trunk/SwigInterface


Chronological Thread 
  • From: "James Bigler" <bigler@cs.utah.edu>
  • To: manta@sci.utah.edu
  • Subject: [Manta] r2076 - trunk/SwigInterface
  • Date: Fri, 15 Feb 2008 12:34:14 -0700 (MST)

Author: bigler
Date: Fri Feb 15 12:34:14 2008
New Revision: 2076

Modified:
   trunk/SwigInterface/objviewer.py
Log:
SwigInterface/objviewer.py

  This code was never updated for the changes we made to the
  accelaration structure rebuilds.  It should be fixed now.


Modified: trunk/SwigInterface/objviewer.py
==============================================================================
--- trunk/SwigInterface/objviewer.py    (original)
+++ trunk/SwigInterface/objviewer.py    Fri Feb 15 12:34:14 2008
@@ -64,7 +64,8 @@
         
     # Create a bvh.
     bvh = manta_new( DynBVH() )
-    bvh.rebuild( obj )
+    bvh.setGroup( obj )
+    bvh.rebuild()
     
     # scene.setObject(world)
     scene.setObject( bvh )




  • [Manta] r2076 - trunk/SwigInterface, James Bigler, 02/15/2008

Archive powered by MHonArc 2.6.16.

Top of page