Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] r2281 - in trunk: Engine/Control SwigInterface


Chronological Thread 
  • From:
  • To:
  • Subject: [Manta] r2281 - in trunk: Engine/Control SwigInterface
  • Date: Wed, 4 Jun 2008 20:01:33 -0600 (MDT)

Author: abe
Date: Wed Jun  4 20:01:32 2008
New Revision: 2281

Modified:
   trunk/Engine/Control/RTRT.cc
   trunk/SwigInterface/mantainterface.i
   trunk/SwigInterface/pycallback.cc
Log:


timeOffset was unintialized.
M    Engine/Control/RTRT.cc

Removed debugging statement.
M    SwigInterface/pycallback.cc

Added FrameState.h to the python interface.
M    SwigInterface/mantainterface.i



Modified: trunk/Engine/Control/RTRT.cc
==============================================================================
--- trunk/Engine/Control/RTRT.cc        (original)
+++ trunk/Engine/Control/RTRT.cc        Wed Jun  4 20:01:32 2008
@@ -160,6 +160,7 @@
   animFrameState.shutter_close = 0;
   timeMode = MantaInterface::RealTime;
   timeScale = 1;
+  timeOffset = 0;
   time_is_stopped = false;
   frameRate = 15;
   pipelineNeedsSetup = true;

Modified: trunk/SwigInterface/mantainterface.i
==============================================================================
--- trunk/SwigInterface/mantainterface.i        (original)
+++ trunk/SwigInterface/mantainterface.i        Wed Jun  4 20:01:32 2008
@@ -213,6 +213,7 @@
 #include <SwigInterface/manta.h>
 #include <Interface/MantaInterface.h>
 #include <Interface/TValue.h>
+#include <Interface/FrameState.h>
 %}
 
 namespace std {
@@ -247,7 +248,7 @@
 %ignore Manta::TValue::operator=;
 %ignore Manta::TValue::operator T; // This needs to be 'operator T', so it 
matches the function header.
 %include <Interface/TValue.h>
-
+%include <Interface/FrameState.h>
 %include <SwigInterface/manta.h>
 %include <Interface/MantaInterface.h>
 

Modified: trunk/SwigInterface/pycallback.cc
==============================================================================
--- trunk/SwigInterface/pycallback.cc   (original)
+++ trunk/SwigInterface/pycallback.cc   Wed Jun  4 20:01:32 2008
@@ -236,7 +236,7 @@
       cerr << "changed value isn't a bool or int\n";
       goto cleanup;
     }
-    cerr << "b1 = "<<b1<<", new_b1 = "<<new_b1<<"\n";
+    // cerr << "b1 = "<<b1<<", new_b1 = "<<new_b1<<"\n";
     if (new_b1 != b1) b1 = new_b1;
   }
  cleanup:


  • [Manta] r2281 - in trunk: Engine/Control SwigInterface, abe, 06/04/2008

Archive powered by MHonArc 2.6.16.

Top of page