[gimp/wip/animation: 324/373] plug-ins: fix animation loops.
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/wip/animation: 324/373] plug-ins: fix animation loops.
- Date: Sat, 7 Oct 2017 02:21:57 +0000 (UTC)
commit 578be9ece8062e313d52233db267008fb76f4245
Author: Jehan <jehan girinstud io>
Date: Mon May 29 10:59:13 2017 +0200
plug-ins: fix animation loops.
Position of successive suite of frames were wrong. Not sure when I
introduced this bug.
plug-ins/animation-play/widgets/animation-xsheet.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/animation-play/widgets/animation-xsheet.c
b/plug-ins/animation-play/widgets/animation-xsheet.c
index 674d950..a60abb4 100755
--- a/plug-ins/animation-play/widgets/animation-xsheet.c
+++ b/plug-ins/animation-play/widgets/animation-xsheet.c
@@ -1458,10 +1458,10 @@ animation_xsheet_suite_do (GtkWidget *button,
data.suite_length = g_tree_nnodes (suite) * xsheet->priv->suite_fpi;
data.end_of_animation = FALSE;
- data.index = 0;
for (data.loop_idx = 0; xsheet->priv->suite_cycle == 0 || data.loop_idx < xsheet->priv->suite_cycle;
data.loop_idx++)
{
+ data.index = 0;
g_tree_foreach (suite, (GTraverseFunc) create_suite, &data);
if (data.end_of_animation)
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]