Fixed a bug where broken stray sequences could appear on PSA export
The bug was triggered when: - at least 2 markers were placed; - the right-most marker contained no NLA data.
This commit is contained in:
@@ -274,7 +274,7 @@ class PsaBuilder(object):
|
||||
for strip in nla_track.strips:
|
||||
frame_max = max(frame_max, strip.frame_end)
|
||||
|
||||
if frame_min == frame_max:
|
||||
if frame_min > frame_max:
|
||||
continue
|
||||
|
||||
sequence_frame_ranges[marker_name] = int(frame_min), int(frame_max)
|
||||
|
||||
Reference in New Issue
Block a user