Commit 3ab5c2c
authored
GltfExtensionHandler::on_texture: pass Texture references (#22131)
# Objective
extension hooks for `on_texture` currently pass the extension data and
not the gltf object.
## Solution
`IoTaskPool::scope` preserves ordering if the futures are only spawned
from the root scope, so we can use that to zip with the texture
references for hooks1 parent 5ac16eb commit 3ab5c2c
2 files changed
+8
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
103 | | - | |
104 | 102 | | |
105 | 103 | | |
106 | 104 | | |
107 | 105 | | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
| 106 | + | |
114 | 107 | | |
115 | 108 | | |
116 | 109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
644 | 644 | | |
645 | 645 | | |
646 | 646 | | |
647 | | - | |
648 | | - | |
649 | | - | |
650 | | - | |
| 647 | + | |
651 | 648 | | |
652 | 649 | | |
653 | 650 | | |
| |||
658 | 655 | | |
659 | 656 | | |
660 | 657 | | |
661 | | - | |
662 | 658 | | |
663 | | - | |
| 659 | + | |
664 | 660 | | |
665 | 661 | | |
666 | 662 | | |
| |||
669 | 665 | | |
670 | 666 | | |
671 | 667 | | |
672 | | - | |
673 | | - | |
| 668 | + | |
674 | 669 | | |
675 | 670 | | |
676 | 671 | | |
677 | 672 | | |
678 | | - | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
679 | 676 | | |
680 | 677 | | |
681 | 678 | | |
682 | | - | |
683 | | - | |
684 | 679 | | |
685 | | - | |
686 | | - | |
687 | | - | |
688 | | - | |
| 680 | + | |
689 | 681 | | |
690 | 682 | | |
691 | 683 | | |
| |||
0 commit comments