openvdb
openvdb copied to clipboard
addLeaf and addTile functions don't work correctly for non-standart trees
If the tree depth is larger than 3, than addLeaf() and addTile() functions will not add any new nodes actually. This is true only for non-standart predefined trees (FloatTree, DoubleTree,etc).
The corresponding test TestDepth.cc is added to check this behavior -- test fails and the last commit fixes this bug.
The committers are authorized under a signed CLA.
- :white_check_mark: Andrey Zakirov (81da30687c59682685f81325a02eb6b4ad8cd27d, d3cf66429c4531bb4f370974aead3d48d7aeddf0)
Hey @zakirovandrey thanks a lot for these changes - they have since been incorporated (#1452) and are part of the latest v10 release. See here https://www.openvdb.org/documentation/doxygen/changes.html#v10_0_0_changes
Closing this.