hamster-applet r811 - trunk/hamster
- From: tbaugis svn gnome org
- To: svn-commits-list gnome org
- Subject: hamster-applet r811 - trunk/hamster
- Date: Fri, 27 Feb 2009 23:32:33 +0000 (UTC)
Author: tbaugis
Date: Fri Feb 27 23:32:33 2009
New Revision: 811
URL: http://svn.gnome.org/viewvc/hamster-applet?rev=811&view=rev
Log:
woops, one variable too much - it's getting late!
Modified:
trunk/hamster/charting.py
Modified: trunk/hamster/charting.py
==============================================================================
--- trunk/hamster/charting.py (original)
+++ trunk/hamster/charting.py Fri Feb 27 23:32:33 2009
@@ -120,8 +120,7 @@
if there is any action needed. returns velocity, which is synonym from
delta. Use it to determine when animation is done (experiment to find
value that fits you!"""
- if self.targeting:
- self.force += self.attraction * (self.target_value - self.current_value)
+ self.force += self.attraction * (self.target_value - self.current_value)
self.accel = self.force / self.mass
self.vel = (self.vel + self.accel) * self.damping
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]