Blender Kitsu: Add Frame Range Pop-up #128

Merged
Nick Alberelli merged 18 commits from :fix/frame-range-popup into main 2023-07-19 17:32:39 +02:00
Showing only changes of commit 62de6e4a15 - Show all commits

View File

@ -294,12 +294,11 @@ def check_frame_range(context) -> bool:
except TypeError: except TypeError:
return return
scene = context.scene scene = context.scene
frame_range_correct = scene.kitsu_error.frame_range
if frame_in == scene.frame_start and frame_out == scene.frame_end: if frame_in == scene.frame_start and frame_out == scene.frame_end:
frame_range_correct = True scene.kitsu_error.frame_range = False
return frame_range_correct return True
frame_range_correct = False scene.kitsu_error.frame_range = True
logger.warning("Current frame range is outdated!") logger.warning("Current frame range is outdated!")
return frame_range_correct return False