Skip to content

Commit

Permalink
Avoid a redundant keyframe snap on close
Browse files Browse the repository at this point in the history
  • Loading branch information
clayote committed Aug 24, 2024
1 parent 2cdc493 commit d32e1fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LiSE/LiSE/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -1282,7 +1282,7 @@ def close(self) -> None:
self.cache_arrange_queue.put("shutdown")
if self._cache_arrange_thread.is_alive():
self._cache_arrange_thread.join()
if self._keyframe_on_close:
if self._keyframe_on_close and self._btt() not in self._keyframes_times:
self.snap_keyframe()
for store in self.stores:
if hasattr(store, "save"):
Expand Down

0 comments on commit d32e1fb

Please sign in to comment.