Commit dfb71fe
committed
Fixes to GenerateFrameNumbers
* `GenerateFrameNumbers` would include the __BASE frame by mistake in its calculations. This didn't end up in the final animation, but did cause a cache miss when building the animation.
* `GenerateFrameNumbers` can now accept the `start` and `end` parameters in reverse order, meaning you can now do `{ start: 10, end: 1 }` to create the animation in reverse.1 parent f64d2cf commit dfb71fe
1 file changed
Lines changed: 15 additions & 31 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
728 | 729 | | |
729 | 730 | | |
730 | 731 | | |
731 | | - | |
| 732 | + | |
732 | 733 | | |
733 | | - | |
734 | | - | |
| 734 | + | |
735 | 735 | | |
736 | | - | |
| 736 | + | |
737 | 737 | | |
738 | | - | |
739 | | - | |
740 | | - | |
741 | | - | |
742 | | - | |
743 | | - | |
744 | | - | |
745 | | - | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
746 | 741 | | |
| 742 | + | |
| 743 | + | |
747 | 744 | | |
748 | | - | |
| 745 | + | |
| 746 | + | |
749 | 747 | | |
750 | | - | |
751 | | - | |
| 748 | + | |
752 | 749 | | |
753 | | - | |
| 750 | + | |
754 | 751 | | |
755 | | - | |
756 | | - | |
757 | | - | |
758 | | - | |
759 | | - | |
760 | | - | |
761 | | - | |
| 752 | + | |
762 | 753 | | |
763 | | - | |
764 | | - | |
765 | | - | |
766 | | - | |
767 | | - | |
768 | | - | |
769 | | - | |
770 | | - | |
| 754 | + | |
771 | 755 | | |
772 | 756 | | |
773 | 757 | | |
| |||
0 commit comments