1
0
mirror of https://github.com/DarklightGames/io_scene_psk_psa.git synced 2025-01-31 19:55:26 +01:00

Determining the last frame when using timeline markers no longer considers muted NLA tracks

This commit is contained in:
Colin Basnett 2022-04-13 22:52:55 -07:00
parent d81f8286a1
commit 99da7e67c0

View File

@ -244,6 +244,8 @@ class PsaBuilder(object):
# There is no next marker.
# Find the final frame of all the NLA strips and use that as the last frame of this sequence.
for nla_track in object.animation_data.nla_tracks:
if nla_track.mute:
continue
for strip in nla_track.strips:
frame_max = max(frame_max, strip.frame_end)