From cb3381c3226889292bb9c371593ae2bb0a278823 Mon Sep 17 00:00:00 2001 From: Daniel Francis Date: Wed, 25 Jul 2012 00:16:08 +0000 Subject: Solved animation preview bug --- (limited to 'activity.py') diff --git a/activity.py b/activity.py index 1939415..a76e0a0 100644 --- a/activity.py +++ b/activity.py @@ -26,6 +26,9 @@ import tempfile import zipfile import json +import logging +logger = logging.getLogger() + import gtk import gobject @@ -86,7 +89,8 @@ class AnimateActivity(activity.Activity): def _move_cb(self, widget, index, new_index): self._animation.move(index, new_index) - def _current_frame_changed_cb(self, index): + def _current_frame_changed_cb(self, widget, index): + logger.debug('%d' % index) self._animation.set_current_frame(index) def write_file(self, file_path): -- cgit v0.9.1