Browse Source

intervals start immediately at time 0

David Rose 23 years ago
parent
commit
df9a0176b1
1 changed files with 6 additions and 0 deletions
  1. 6 0
      direct/src/interval/cMetaInterval.cxx

+ 6 - 0
direct/src/interval/cMetaInterval.cxx

@@ -367,6 +367,7 @@ priv_initialize(double t) {
 
   int now = double_to_int_time(t);
 
+  /*
   // One special case: if we step to t == 0.0, it really means to the
   // very beginning of the interval, *before* any events that occurred
   // at time 0.  (Most of the time, stepping to a particular time
@@ -374,6 +375,7 @@ priv_initialize(double t) {
   if (t == 0.0) {
     now = -1;
   }
+  */
 
   // Now look for events from the beginning up to the current time.
   _processing_events = true;
@@ -452,6 +454,7 @@ priv_step(double t) {
   check_started("priv_step");
   int now = double_to_int_time(t);
 
+  /*
   // One special case: if we step to t == 0.0, it really means to the
   // very beginning of the interval, *before* any events that occurred
   // at time 0.  (Most of the time, stepping to a particular time
@@ -459,6 +462,7 @@ priv_step(double t) {
   if (t == 0.0) {
     now = -1;
   }
+  */
 
   // Now look for events between the last time we ran and the current
   // time.
@@ -567,6 +571,7 @@ priv_reverse_initialize(double t) {
 
   int now = double_to_int_time(t);
 
+  /*
   // One special case: if we step to t == 0.0, it really means to the
   // very beginning of the interval, *before* any events that occurred
   // at time 0.  (Most of the time, stepping to a particular time
@@ -574,6 +579,7 @@ priv_reverse_initialize(double t) {
   if (t == 0.0) {
     now = -1;
   }
+  */
 
   // Now look for events from the end down to the current time.
   _processing_events = true;