Commit 4d16d01
authored
Improvements to
This changelist improves the upgrade logic for the `swizzle` node in v1.38 documents, extending support to nodes with explicit `nodedef` attributes, while maintaining support for nodes without them.
New examples of this usage have been added to the `TestSuite/stdlib/upgrade` folder for validation in unit testing.swizzle upgrade logic (#2282)1 parent 7abbbdc commit 4d16d01
2 files changed
Lines changed: 39 additions & 0 deletions
File tree
- resources/Materials/TestSuite/stdlib/upgrade
- source/MaterialXCore
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
66 | 85 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1191 | 1191 | | |
1192 | 1192 | | |
1193 | 1193 | | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
1194 | 1198 | | |
1195 | 1199 | | |
1196 | 1200 | | |
| |||
1228 | 1232 | | |
1229 | 1233 | | |
1230 | 1234 | | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
1231 | 1239 | | |
1232 | 1240 | | |
1233 | 1241 | | |
| |||
1238 | 1246 | | |
1239 | 1247 | | |
1240 | 1248 | | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
1241 | 1253 | | |
1242 | 1254 | | |
1243 | 1255 | | |
1244 | 1256 | | |
1245 | 1257 | | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
1246 | 1262 | | |
1247 | 1263 | | |
1248 | 1264 | | |
| |||
1269 | 1285 | | |
1270 | 1286 | | |
1271 | 1287 | | |
| 1288 | + | |
| 1289 | + | |
| 1290 | + | |
| 1291 | + | |
1272 | 1292 | | |
1273 | 1293 | | |
1274 | 1294 | | |
| |||
0 commit comments