Commit c498a77
committed
fixup! IECoreUSD : Option for relative prototype paths inside a PointInstancer
- Rename `gafferUSDPointInstancers...` variable to reflect that it is static and doesn't reference a Gaffer environment variable.
- Reduce nesting by dealing with both absolute cases in one block.
- Fix snake-casing of environment variables (extra '_' between words).
- Improve tests
- Set environment variable for absolute test, in case the original environment contains the variable.
- Add test for the case where the variable is not set.
- Use `subTest` to consolidate testing code into only two functions.1 parent 059b91c commit c498a77
File tree
2 files changed
+29
-35
lines changed- contrib/IECoreUSD
- src/IECoreUSD
- test/IECoreUSD
2 files changed
+29
-35
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
155 | 148 | | |
156 | 149 | | |
157 | 150 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4488 | 4488 | | |
4489 | 4489 | | |
4490 | 4490 | | |
| 4491 | + | |
4491 | 4492 | | |
4492 | | - | |
4493 | | - | |
4494 | 4493 | | |
4495 | 4494 | | |
4496 | 4495 | | |
4497 | 4496 | | |
4498 | 4497 | | |
4499 | 4498 | | |
4500 | | - | |
4501 | 4499 | | |
4502 | | - | |
4503 | | - | |
4504 | | - | |
| 4500 | + | |
| 4501 | + | |
| 4502 | + | |
| 4503 | + | |
4505 | 4504 | | |
4506 | | - | |
4507 | | - | |
4508 | | - | |
4509 | | - | |
4510 | | - | |
4511 | | - | |
4512 | | - | |
| 4505 | + | |
4513 | 4506 | | |
4514 | | - | |
4515 | | - | |
4516 | | - | |
4517 | | - | |
4518 | | - | |
4519 | | - | |
4520 | | - | |
4521 | | - | |
| 4507 | + | |
| 4508 | + | |
| 4509 | + | |
4522 | 4510 | | |
| 4511 | + | |
| 4512 | + | |
| 4513 | + | |
| 4514 | + | |
| 4515 | + | |
| 4516 | + | |
| 4517 | + | |
| 4518 | + | |
| 4519 | + | |
| 4520 | + | |
| 4521 | + | |
| 4522 | + | |
| 4523 | + | |
4523 | 4524 | | |
4524 | 4525 | | |
4525 | 4526 | | |
| |||
0 commit comments