Commit b9ab0e4
committed
Fix handling missing skins using ufbx importer
Previously, _asset_parse_skins() would mess with the order of skin indices.
However, the rest of the code expected these to match to ufbx skin indices.
To fix this, retain the original skin indices in FBXState::original_skin_indices.1 parent 03e6fbb commit b9ab0e4
2 files changed
+5
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
693 | 693 | | |
694 | 694 | | |
695 | 695 | | |
696 | | - | |
697 | | - | |
698 | | - | |
699 | | - | |
| 696 | + | |
700 | 697 | | |
701 | 698 | | |
702 | 699 | | |
| |||
2341 | 2338 | | |
2342 | 2339 | | |
2343 | 2340 | | |
2344 | | - | |
| 2341 | + | |
2345 | 2342 | | |
2346 | 2343 | | |
2347 | 2344 | | |
| |||
2387 | 2384 | | |
2388 | 2385 | | |
2389 | 2386 | | |
| 2387 | + | |
2390 | 2388 | | |
2391 | | - | |
| 2389 | + | |
2392 | 2390 | | |
2393 | 2391 | | |
2394 | 2392 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
0 commit comments