Blender Kitsu: Add Frame Range Pop-up #128
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user