Commit 2a8a7b6
committed
Fix SampleExtComputationInput() for non-varying computation inputs.
If the computation input was not time-sampled, the return value would be
0 causing callers to ignore the time sample of 0.0. This
could then cause HdExtComputationUtils::SampleComputedPrimvarValues() to fail
while executing the computation due to the non-varying inputs having no
values.
This was the same issue that 33dbdb1 fixed for SamplePrimvar()1 parent 99749e2 commit 2a8a7b6
1 file changed
+20
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2736 | 2736 | | |
2737 | 2737 | | |
2738 | 2738 | | |
| 2739 | + | |
| 2740 | + | |
| 2741 | + | |
| 2742 | + | |
| 2743 | + | |
2739 | 2744 | | |
2740 | | - | |
| 2745 | + | |
| 2746 | + | |
2741 | 2747 | | |
| 2748 | + | |
| 2749 | + | |
| 2750 | + | |
| 2751 | + | |
| 2752 | + | |
| 2753 | + | |
| 2754 | + | |
| 2755 | + | |
| 2756 | + | |
| 2757 | + | |
| 2758 | + | |
| 2759 | + | |
2742 | 2760 | | |
2743 | 2761 | | |
2744 | | - | |
| 2762 | + | |
2745 | 2763 | | |
2746 | 2764 | | |
2747 | 2765 | | |
2748 | 2766 | | |
2749 | | - | |
2750 | | - | |
2751 | | - | |
2752 | | - | |
2753 | | - | |
2754 | 2767 | | |
2755 | 2768 | | |
2756 | 2769 | | |
| |||
0 commit comments