Removed unused get_nla_strips_ending_at_frame function
This commit is contained in:
@@ -32,17 +32,6 @@ def rgb_to_srgb(c):
|
|||||||
return 12.92 * 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]:
|
def get_nla_strips_in_timeframe(animation_data, frame_min, frame_max) -> List[NlaStrip]:
|
||||||
if animation_data is None:
|
if animation_data is None:
|
||||||
return []
|
return []
|
||||||
|
|||||||
Reference in New Issue
Block a user