Index: app/multi_animation.cc |
diff --git a/app/multi_animation.cc b/app/multi_animation.cc |
index 411708c89dd4c8a68708c24acf6b547cf4e2a97f..80675b8367edee2e5919904b6380284dbfc27a9c 100644 |
--- a/app/multi_animation.cc |
+++ b/app/multi_animation.cc |
@@ -31,6 +31,12 @@ MultiAnimation::MultiAnimation(const Parts& parts) |
MultiAnimation::~MultiAnimation() {} |
+void MultiAnimation::Reset() { |
+ Stop(); |
+ current_value_ = 0; |
sky
2010/12/06 17:38:12
current_value and current_parent_index should be s
Evan Stade
2010/12/06 22:15:48
I think I've done what you intended
|
+ current_part_index_ = 0; |
+} |
+ |
void MultiAnimation::Step(base::TimeTicks time_now) { |
double last_value = current_value_; |
size_t last_index = current_part_index_; |