Commit 92d4b91
committed
VDBObjectTest : Tweak for OpenVDB 10.1
The grid value class bindings are intended to provide everything both as an item (`["value"]`) and as an attribute (`.value`), but in OpenVDB 10.1 the item bindings seem broken, so we must use the attribute instead.
Also added a missing import, and used `next()` to get the first element from `citerAllValues()`, knockin 2s off the runtime of the test.1 parent 5ea2a9a commit 92d4b91
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
240 | 241 | | |
241 | 242 | | |
242 | 243 | | |
243 | | - | |
244 | | - | |
| 244 | + | |
| 245 | + | |
245 | 246 | | |
246 | | - | |
| 247 | + | |
247 | 248 | | |
248 | 249 | | |
249 | 250 | | |
| |||
0 commit comments