1
0
mirror of https://github.com/DarklightGames/io_scene_psk_psa.git synced 2024-11-15 02:37:39 +01:00

Removed unused get_nla_strips_ending_at_frame function

This commit is contained in:
Colin Basnett 2022-06-27 18:12:42 -07:00
parent 7c9d13686f
commit 472a743c89

View File

@ -32,17 +32,6 @@ def rgb_to_srgb(c):
return 12.92 * c
def get_nla_strips_ending_at_frame(animation_data, frame) -> List[NlaStrip]:
if animation_data is None:
return []
strips = []
for nla_track in animation_data.nla_tracks:
for strip in nla_track.strips:
if strip.frame_end == frame:
strips.append(strip)
return strips
def get_nla_strips_in_timeframe(animation_data, frame_min, frame_max) -> List[NlaStrip]:
if animation_data is None:
return []