You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-commits@xmlgraphics.apache.org by ca...@apache.org on 2007/09/27 02:08:31 UTC
svn commit: r579855 -
/xmlgraphics/batik/trunk/sources/org/apache/batik/anim/timing/TimedElement.java
Author: cam
Date: Wed Sep 26 17:08:30 2007
New Revision: 579855
URL: http://svn.apache.org/viewvc?rev=579855&view=rev
Log:
Resume the animation engine if it is sleeping when a beginElement() call
is made. Fixes bug 42258.
Modified:
xmlgraphics/batik/trunk/sources/org/apache/batik/anim/timing/TimedElement.java
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/anim/timing/TimedElement.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/anim/timing/TimedElement.java?rev=579855&r1=579854&r2=579855&view=diff
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/anim/timing/TimedElement.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/anim/timing/TimedElement.java Wed Sep 26 17:08:30 2007
@@ -279,7 +279,7 @@
if (index < 0) {
index = -(index + 1);
}
- instanceTimes.add( index, time );
+ instanceTimes.add(index, time);
shouldUpdateCurrentInterval = true;
float ret;
if (root.isSampling() && !isSampling) {
@@ -288,6 +288,7 @@
ret = Float.POSITIVE_INFINITY;
}
hasPropagated = false;
+ root.currentIntervalWillUpdate();
return ret;
// } finally { Trace.exit(); }
}
@@ -331,6 +332,7 @@
ret = Float.POSITIVE_INFINITY;
}
hasPropagated = false;
+ root.currentIntervalWillUpdate();
return ret;
// } finally { Trace.exit(); }
}