Blender Kitsu: Add Frame Range Pop-up #128
@ -294,12 +294,11 @@ def check_frame_range(context) -> bool:
|
||||
except TypeError:
|
||||
return
|
||||
scene = context.scene
|
||||
frame_range_correct = scene.kitsu_error.frame_range
|
||||
|
||||
if frame_in == scene.frame_start and frame_out == scene.frame_end:
|
||||
frame_range_correct = True
|
||||
return frame_range_correct
|
||||
scene.kitsu_error.frame_range = False
|
||||
return True
|
||||
|
||||
frame_range_correct = False
|
||||
scene.kitsu_error.frame_range = True
|
||||
logger.warning("Current frame range is outdated!")
|
||||
return frame_range_correct
|
||||
return False
|
||||
|
Loading…
Reference in New Issue
Block a user