Author: toshok
Date: 2007-10-05 21:24:22 -0400 (Fri, 05 Oct 2007)
New Revision: 87024
Modified:
trunk/moon/src/ChangeLog
trunk/moon/src/clock.cpp
Log:
2007-10-05 Chris Toshok <[EMAIL PROTECTED]>
* clock.cpp (TimeManager::Tick): I have no idea how this is
possible, but the throttle code is *completely* screwing up the
Airlines demo animations.
Modified: trunk/moon/src/ChangeLog
===================================================================
--- trunk/moon/src/ChangeLog 2007-10-06 00:36:41 UTC (rev 87023)
+++ trunk/moon/src/ChangeLog 2007-10-06 01:24:22 UTC (rev 87024)
@@ -1,3 +1,9 @@
+2007-10-05 Chris Toshok <[EMAIL PROTECTED]>
+
+ * clock.cpp (TimeManager::Tick): I have no idea how this is
+ possible, but the throttle code is *completely* screwing up the
+ Airlines demo animations.
+
2007-10-05 Jackson Harper <[EMAIL PROTECTED]>
* control.cpp: need to pass this down. Fixes dragging controls in
Modified: trunk/moon/src/clock.cpp
===================================================================
--- trunk/moon/src/clock.cpp 2007-10-06 00:36:41 UTC (rev 87023)
+++ trunk/moon/src/clock.cpp 2007-10-06 01:24:22 UTC (rev 87024)
@@ -211,6 +211,10 @@
}
ENDTICKTIMER (tick, "TimeManager::Tick");
+#if THROTTLING_WORKS
+ // for some reason this code completely breaks the airlines demo...
+ // we need to figure out what the hell it's doing.
+
TimeSpan post_tick = get_now();
/* implement an exponential moving average by way of simple
@@ -254,6 +258,7 @@
previous_smoothed = current_smoothed;
//time_manager_list_clocks ();
+#endif
}
void
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches