Blender Kitsu: Add Frame Range Pop-up #128
@ -482,6 +482,10 @@ def draw_frame_range_warning(self, context):
|
|||||||
|
|
||||||
@persistent
|
@persistent
|
||||||
def load_post_handler_check_frame_range(dummy: Any) -> None:
|
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):
|
if not core.check_frame_range(bpy.context):
|
||||||
bpy.context.window_manager.popup_menu(
|
bpy.context.window_manager.popup_menu(
|
||||||
draw_frame_range_warning,
|
draw_frame_range_warning,
|
||||||
|
Loading…
Reference in New Issue
Block a user