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:
parent
7c9d13686f
commit
472a743c89
@ -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 []
|
||||
|
Loading…
Reference in New Issue
Block a user