diff options
author | Vasily_Makarov <danilka.pro@gmail.com> | 2012-02-08 21:42:49 +0400 |
---|---|---|
committer | Vasily_Makarov <danilka.pro@gmail.com> | 2012-02-08 21:42:49 +0400 |
commit | 6545f58904d754db19800a1cd21f472eb13339bd (patch) | |
tree | 31302573e165c3eaab15ed6eef879e5b5d6324eb /saedit/sae.c | |
parent | 6cef75a6df920f13a42b0ab17e2539aacc5e79e5 (diff) | |
download | evol-tools-6545f58904d754db19800a1cd21f472eb13339bd.tar.gz evol-tools-6545f58904d754db19800a1cd21f472eb13339bd.tar.bz2 evol-tools-6545f58904d754db19800a1cd21f472eb13339bd.tar.xz evol-tools-6545f58904d754db19800a1cd21f472eb13339bd.zip |
SAE: Add Debug mode
Diffstat (limited to 'saedit/sae.c')
-rw-r--r-- | saedit/sae.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/saedit/sae.c b/saedit/sae.c index 472901e..e2627a7 100644 --- a/saedit/sae.c +++ b/saedit/sae.c @@ -112,6 +112,7 @@ gboolean set_up_animation_by_direction(SAEInfo *sae_info, const gchar *direction for (r = 1; r <= repeat; r++) { for (i = start; i <= end; i++) { Frame *sprite = frame_new(i, offsetX, offsetY, delay); + sprite->line_number = node->line_number; sprite->pixbuf = get_sprite_by_index(i, sae_info); count++; if (sae_info->animation != NULL) @@ -123,7 +124,7 @@ gboolean set_up_animation_by_direction(SAEInfo *sae_info, const gchar *direction } } } - list = list->next; + list = g_list_next(list); } if (sae_info->animation == NULL) return FALSE; |