Author: toshok
Date: 2007-09-04 13:27:43 -0400 (Tue, 04 Sep 2007)
New Revision: 85310

Modified:
   trunk/moon/src/ChangeLog
   trunk/moon/src/animation.cpp
Log:
2007-09-04  Chris Toshok  <[EMAIL PROTECTED]>

        * animation.cpp (KeyFrameAnimation_ResolveKeyFrames): add the
        keyframes in reverse order so the sort works.



Modified: trunk/moon/src/ChangeLog
===================================================================
--- trunk/moon/src/ChangeLog    2007-09-04 17:04:37 UTC (rev 85309)
+++ trunk/moon/src/ChangeLog    2007-09-04 17:27:43 UTC (rev 85310)
@@ -1,3 +1,8 @@
+2007-09-04  Chris Toshok  <[EMAIL PROTECTED]>
+
+       * animation.cpp (KeyFrameAnimation_ResolveKeyFrames): add the
+       keyframes in reverse order so the sort works.
+
 2007-09-04  Jeffrey Stedfast  <[EMAIL PROTECTED]>
 
        * list.cpp (Insert): Fixed.

Modified: trunk/moon/src/animation.cpp
===================================================================
--- trunk/moon/src/animation.cpp        2007-09-04 17:04:37 UTC (rev 85309)
+++ trunk/moon/src/animation.cpp        2007-09-04 17:27:43 UTC (rev 85310)
@@ -1160,7 +1160,7 @@
           secondary key (step 8 from url) */
        g_ptr_array_set_size (col->sorted_list, 0);
        
-       for (cur = col->list->First (); cur; cur = cur->next) {
+       for (cur = col->list->Last (); cur; cur = cur->prev) {
                KeyFrame *keyframe = (KeyFrame *) ((Collection::Node *) 
cur)->obj;
                if (!keyframe->resolved) {
                        g_warning ("***** unresolved keyframe!");

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to