Skip to content

Commit

Permalink
Fix mseries command with negative step.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomgoddard committed Nov 4, 2023
1 parent 4f602d0 commit 2753246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bundles/model_series/src/mseries.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def __init__(self, models, pause_frames = 1, loop = 1, step = 1):

def start(self):

self.inext = 0 if self.step > 0 else len(models)-1
self.inext = 0 if self.step > 0 else len(self.models)-1
t = self.models[0].session.triggers
self._handler = t.add_handler('new frame', self.frame_cb)

Expand Down

0 comments on commit 2753246

Please sign in to comment.