Skip to content

Commit 3518de8

Browse files
author
arch
committed
add logentry at completed event
1 parent 2a6e41d commit 3518de8

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

funscript_editor/config/settings.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use_zoom: False
1111
zoom_factor: 4.0
1212

1313
# Specify the tracking direction. Allowed values are `'x'` and `'y'`.
14-
tracking_direction: 'y'
14+
tracking_direction: 'd'
1515

1616
# Limit the max player speed in the tracking preview window (0 = disable limit)
1717
max_playback_fps: 0

funscript_editor/ui/funscript_editor_window.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,12 +317,16 @@ def __generate_funscript(self):
317317
self.funscript_generator.processStatus.connect(self.__generator_status_changed)
318318
self.funscript_generator.start()
319319

320-
def __funscript_generated(self, funscript, status):
320+
def __funscript_generated(self, funscript, status, success):
321321
self.video_player.set_funscript(self.funscript)
322322
self.funscript_visualizer.set_funscript(self.funscript)
323323
self.video_player.set_indicate_bussy(False)
324324
self.__save_funscript()
325325
self.video_player.show_message(status)
326+
if success:
327+
self.__logger.info(status)
328+
else:
329+
self.__logger.error(status)
326330

327331
def __delete_current_action(self):
328332
if self.funscript is None: return

0 commit comments

Comments
 (0)