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 b8fde09058 - Show all commits

View File

@ -482,6 +482,10 @@ def draw_frame_range_warning(self, context):
@persistent
def load_post_handler_check_frame_range(dummy: Any) -> None:
# Only show if kitsu context is detected
active_shot = cache.shot_active_get()
if not active_shot:
return
if not core.check_frame_range(bpy.context):
bpy.context.window_manager.popup_menu(
draw_frame_range_warning,