From 99da7e67c0fb96b667b1062de6d8ab9cf3d43e47 Mon Sep 17 00:00:00 2001 From: Colin Basnett Date: Wed, 13 Apr 2022 22:52:55 -0700 Subject: [PATCH] Determining the last frame when using timeline markers no longer considers muted NLA tracks --- io_scene_psk_psa/psa/builder.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/io_scene_psk_psa/psa/builder.py b/io_scene_psk_psa/psa/builder.py index aff1e98..c0a84de 100644 --- a/io_scene_psk_psa/psa/builder.py +++ b/io_scene_psk_psa/psa/builder.py @@ -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)