From df9a0176b1bcccea1755f14ed032d5c547ebb1b3 Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 11 Sep 2002 21:15:42 +0000 Subject: [PATCH] intervals start immediately at time 0 --- direct/src/interval/cMetaInterval.cxx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/direct/src/interval/cMetaInterval.cxx b/direct/src/interval/cMetaInterval.cxx index 483058ddce..e24cec4228 100644 --- a/direct/src/interval/cMetaInterval.cxx +++ b/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;