Skip to content

Commit

Permalink
Speeds up VVD with better visibility setting.
Browse files Browse the repository at this point in the history
  • Loading branch information
hubbardp committed Dec 9, 2024
1 parent c516eec commit 93e96b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.46.1
1.47.0
4 changes: 2 additions & 2 deletions neuVid/animateVvd.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,9 +398,9 @@ def keys(self, frame, id_interpolator, id_key):
visible = 1
if self.starting_alpha == 0 and self.ending_alpha == 0:
visible = 0
elif frame == self.frame0 and self.starting_alpha == 0:
elif frame < self.frame0 and self.starting_alpha == 0:
visible = 0
elif frame == self.frame1 and self.ending_alpha == 0:
elif frame > self.frame1 and self.ending_alpha == 0:
visible = 0

result = "[interpolator/{}/keys/{}]\n".format(id_interpolator, id_key)
Expand Down

0 comments on commit 93e96b1

Please sign in to comment.