Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[MANTA] r1183 - trunk/SwigInterface


Chronological Thread 
  • From: abe@sci.utah.edu
  • To: manta@sci.utah.edu
  • Subject: [MANTA] r1183 - trunk/SwigInterface
  • Date: Wed, 16 Aug 2006 18:54:03 -0600 (MDT)

Author: abe
Date: Wed Aug 16 18:54:02 2006
New Revision: 1183

Modified:
   trunk/SwigInterface/KDTreeDynFrame.py
   trunk/SwigInterface/manta.i
Log:

Added header file for callback handle. Christiaan broke the Swig build....
M    manta.i

James replaced every .get(i) with [i], which broke some python code.
M    KDTreeDynFrame.py

I haven't broken anything today.


Modified: trunk/SwigInterface/KDTreeDynFrame.py
==============================================================================
--- trunk/SwigInterface/KDTreeDynFrame.py       (original)
+++ trunk/SwigInterface/KDTreeDynFrame.py       Wed Aug 16 18:54:02 2006
@@ -124,7 +124,7 @@
             
             # Check to see if the plane group already has a parallelogram.
             if (self.plane_group.getSize() == 2):
-                old = self.plane_group[1]
+                old = self.plane_group.get(1)
                 manta_delete( old )
                 self.plane_group.set(1,parallelogram)
             else:

Modified: trunk/SwigInterface/manta.i
==============================================================================
--- trunk/SwigInterface/manta.i (original)
+++ trunk/SwigInterface/manta.i Wed Aug 16 18:54:02 2006
@@ -112,6 +112,7 @@
 
 %{
 #include <Core/Geometry/Ray.h>
+#include <Interface/CallbackHandle.h>
 #include <Interface/Context.h>
 #include <Interface/Object.h>
 #include <Interface/Primitive.h>
@@ -122,6 +123,7 @@
 %}
 
 %include <Core/Geometry/Ray.h>
+%include <Interface/CallbackHandle.h>
 %include <Interface/Context.h>
 %include <Interface/Object.h>
 %include <Interface/Primitive.h>




  • [MANTA] r1183 - trunk/SwigInterface, abe, 08/16/2006

Archive powered by MHonArc 2.6.16.

Top of page